وَتِلْكَ الْقُرٰٓى اَهْلَكْنٰهُمْ لَمَّا ظَلَمُوْا وَجَعَلْنَا لِمَهْلِكِهِمْ مَّوْعِدًا ࣖ ( الكهف: ٥٩ )
Wa tkal quraaa ahlak nahum lammaa zulamoo wa ja'alnaa limahlikihim maw'idaa (al-Kahf 18:59)
And those cities – We destroyed them when they wronged, and We made for their destruction an appointed time. (Al-Kahf  : 59)
1 Mufti Taqi Usmani
These are the towns that We destroyed when they (i.e. their people) transgressed, and We had appointed a time for their destruction.