After the flood, God commanded the people to spread throughout the world. However, they rebelled and chose to stay together in one community. They built a city and a tower to the heavens, thus trying to make a name for themselves. This was an act of rebellion against God, so God confused their languages, making it impossible for them to communicate with each other. The people then left the area and spread across the globe, creating new civilizations, cultures, and languages.