The finishing of the Temple and the kingship of Solomon was a time for renewal of the Covenant between Israel and her God. The Lord appeared to Solomon to remind him of the agreement that was made a long time ago between God and Abraham – that the nation would be blessed as long as it remained on a path that was faithful Him. For the sake of His integrity, God could not bless the behavior of sinful actions because then other nations might be led to believe that such actions were approved by Him. The same is true for us: we will never receive the blessings of God when we break the laws of God.
So Solomon's meeting with the Lord was really a fresh start for the nation: follow God and be blessed, or go your own way and suffer the consequences. Wisdom teaches that we can expect the same. When we go our own way, we will suffer the consequences of living life however we want to live. But when we choose to live God's way, we can expect the blessings that come along that path. Which way will you go?