Surah Al-Israa

17:58

وَإِن مِّن قَرْيَةٍ إِلَّا نَحْنُ مُهْلِكُوهَا قَبْلَ يَوْمِ ٱلْقِيَٰمَةِ أَوْ مُعَذِّبُوهَا عَذَابًۭا شَدِيدًۭا ۚ كَانَ ذَٰلِكَ فِى ٱلْكِتَٰبِ مَسْطُورًۭا

And there is no city but that We will destroy it before the Day of Resurrection or punish it with a severe punishment. That has ever been in the Register inscribed.

Tafsir 17:58

And there is no town or city except I will send upon it punishment and destruction in this worldly life due to their disbelief, or afflict it with a mighty punishment such as being killed, due to their disbelief. This destruction and punishment is a divine decree written in the Preserved Tablet.