It didn't happen like this. And those people that lived during that time, is vastly advance even by our own standards and not to mention that they lived longer. A human at that time lived for roughly 1000 years. Prophet Noah preach for 930 years. To a civilization that both Idol worshipers and arrogant. Why they became so arrogant? Because their technology is so advanced that if we try to compare it, our technology is 200 years at the back.