Sure Al-Israa

17:16

وَإِذَآ أَرَدْنَآ أَن نُّهْلِكَ قَرْيَةً أَمَرْنَا مُتْرَفِيهَا فَفَسَقُوا۟ فِيهَا فَحَقَّ عَلَيْهَا ٱلْقَوْلُ فَدَمَّرْنَٰهَا تَدْمِيرًۭا

Und wenn Wir eine Stadt vernichten wollen, befehlen Wir denjenigen, die in ihr üppig leben (, zu freveln), und dann freveln sie in ihr. So bewahrheitet sich das Wort gegen sie, und dann zerstören Wir sie vollständig.

Tafsir 17:16

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.