Yunus 10:13
وَلَقَدْ أَهْلَكْنَا ٱلْقُرُونَ مِن قَبْلِكُمْ لَمَّا ظَلَمُوا۟ ۙ وَجَآءَتْهُمْ رُسُلُهُم بِٱلْبَيِّنَـٰتِ وَمَا كَانُوا۟ لِيُؤْمِنُوا۟ ۚ كَذَٰلِكَ نَجْزِى ٱلْقَوْمَ ٱلْمُجْرِمِينَ
Walaqad ahlakna alquroona minqablikum lamma thalamoo wajaat-humrusuluhum bilbayyinati wama kanooliyu/minoo kathalika najzee alqawma almujrimeen
And We had already destroyed generations before you when they wronged, and their messengers had come to them with clear proofs, but they were not to believe. Thus do We recompense the criminal people.
Indeed We have destroyed generations before you when they transgressed, and their Messengers had come to them with clear signs, but they were not the ones who would believe. This is how We punish the guilty people.