The people of the earth had one language. They came together and decided to build a city and a tower to make a name for theirselves, for their defense. 
God wouldn’t bless their ambition. Instead he dispersed the people by confusing their language. 
Our intentions matter. Are you striving to do your best solely for self-satisfaction or are you trying to live righteously to honor and bring glory to your God? Who you are living to glorify shows who you are trusting in. Trust Jesus. 
Scripture taken from:

Genesis 11:1-9

Psalm 118:8