Did they not roam the earth and note the consequences for those before them? They used to be stronger than they, and more productive on earth. But God punished them for their sins, and nothing could protect them from God.
أَوَلَم يَسيروا فِى الأَرضِ فَيَنظُروا كَيفَ كانَ عٰقِبَةُ الَّذينَ كانوا مِن قَبلِهِم كانوا هُم أَشَدَّ مِنهُم قُوَّةً وَءاثارًا فِى الأَرضِ فَأَخَذَهُمُ اللَّهُ بِذُنوبِهِم وَما كانَ لَهُم مِنَ اللَّهِ مِن واقٍ
awalam yaseeroo fil ardi fa yanzuroo kaifa kaana ‘aaqibatul lazeena kaanoo min qablihim; kaanoo hum ashadda minhum quwwatanw wa aasaaran fil ardi fa akhazahumul laahu bizunoobihim wa maa kaana lahum minal laahi minw waaq