The religious message of the story is that the growth of sin even turns a people against itself. The divine truth communicated via the myth is that every human is flawed. Looking at the big picture, this is true as the bible shows that no matter how many times God punishes the people for sinning, they simply cannot stop because of God's choice to give true will. In the story, the independence of the people leads them to hubris, and into believing that they can disobey God's command, and do so by building a city and a tower so they may name themselves and remain together. Of course, God punishes them for disobeying and does so by babbling their language and forcibly spreading them throughout the Earth.