As salaam alaikum,
This is why it's never the end of times when people think that it is...because there are still pure, virtuous people in the world and the society does not merit wholesale destruction:
"But, alas, among those generations [whom We destroyed] before your time there were no people endowed with any virtue--[people] who would speak out against the [spread of] corruption on earth--except the few of them whom We saved [because of their righteousness], whereas those who were bent on evildoing only pursued pleasures which corrupted their whole being, and so lost themselves in sinning. For, never would thy Sustainer destroy a community for wrong [beliefs alone] so long as its people behave righteously [towards one another]." (11:116-117)
That being said, aberrant beliefs often allows for corruption...but that's an important point when the denial of the truth in a lot of these ayat seems to be the sole impetus for the destruction of a community sometimes...