They said, "Come, let us build for ourselves a city, and a tower whose top awill reach into heaven, and let us make for ourselves ba name, otherwise we cwill be scattered abroad over the face of the whole earth."
Now, there are many people who tries to reach heaven by different was - good works, pilgrimage etc.
Maybe they wanted to build a safe place where floods wouldn't reach, thereby...