Al Isra’ Ayah 58
وَإِن مِّن قَرْيَةٍ إِلَّا نَحْنُ مُهْلِكُوهَا قَبْلَ يَوْمِ ٱلْقِيَـٰمَةِ أَوْ مُعَذِّبُوهَا عَذَابًا شَدِيدًاۚ كَانَ ذَٲلِكَ فِى ٱلْكِتَـٰبِ مَسْطُورًا ٥٨
There is not a ?wicked? society that We will not destroy or punish with a severe torment before the Day of Judgment. That is written in the Record.