وَإِن مِّن قَرْيَةٍ إِلَّا نَحْنُ مُهْلِكُوهَا قَبْلَ يَوْمِ ٱلْقِيَٰمَةِ أَوْ مُعَذِّبُوهَا عَذَابًۭا شَدِيدًۭا ۚ كَانَ ذَٰلِكَ فِى ٱلْكِتَٰبِ مَسْطُورًۭا
Sura Al-Israa
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.