Genesis 11:5-9 (NIV)
5 But the LORD came down to see the city and the tower that the men were building. 6 The LORD said, "If as one people speaking the same language they have begun to do this, then nothing they plan to do will be impossible for them. 7 Come, let us go down and confuse their language so they will not understand each other." 8 So the LORD scattered them from there over all the earth, and they stopped building the city. 9 That is why it was called Babel —because there the LORD confused the language of the whole world. From there the LORD scattered them over the face of the whole earth.
God being a just and fair god went down to the city of Babel and saw what the people were doing. They were building a city, 1) to make a name for themselves, 2) not to be scattered across the earth, 3) with a tower to reach the heavens. God had already told Noah he and his sons were to multiply and fill the earth so these descendants of Noah were violating God's desire. Next they were committing idolatry by wanting to make a name for themselves and building a tower to reach the heavens. Instead of destroying everyone God created different languages for everyone to speak and scattered the people all over the face of the earth. If the people were unwilling to move as God said, God was willing to move them.
God made King Solomon the wisest man to have ever lived. God imparted to Solomon knowledge and understanding directly from God Himself. As the 1st book of Proverbs starts out it says, "The proverbs of Solomon son of David, king of Israel: for attaining wisdom and discipline; for understanding words of insight; for acquiring a disciplined and prudent life, doing what is right and just and fair; ". God taught Solomon the importance of doing what is right, just and fair and Solomon passed that on for the rest of us to apply in our lives. At the tower of Babel God let the punishment fit the crime and was right, just and fair in His discipline of the people. We need to make sure we treat others in the same way and that we are always right, fair and just. Pray and thank God that as a sinner God was fair and just to offer His son Jesus as a sacrifice to you that if you believed in Him you would not perish, but have ever lasting life. Pray that God would let you have mercy on others that you might be fair and just, never condemning someone unjustly. Always asking God for His will to be done, His grace and mercy to be extended and His love to abound.