Aslam

Surah Al-Isra — 17:16
وَإِذَآ أَرَدۡنَآ أَن نُّهۡلِكَ قَرۡيَةً أَمَرۡنَا مُتۡرَفِيهَا فَفَسَقُواْ فِيهَا فَحَقَّ عَلَيۡهَا ٱلۡقَوۡلُ فَدَمَّرۡنَٰهَا تَدۡمِيرٗا
Whenever We intend to destroy a society, We command its elite ˹to obey Allah˺ but they act rebelliously in it. So the decree ˹of punishment˺ is justified, and We destroy it utterly.

Commentary

When I decided to destroy a town because of its wrongdoing, I instructed those who became reckless because of affluence, to obey Allah but they did not comply. And instead they disobeyed Him and transgressed, so the word of the decimating punishment became justified against them and I destroyed them completely.

Read Tafsir Ibn Kathir