Sure At-Talaaq

65:8

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

Und wieviele Städte lehnten sich gegen den Befehl ihres Herrn und Seiner Gesandten auf, worauf Wir sie einer strengen Abrechnung unterzogen und mit entsetzlicher Strafe straften.

Tafsir 65:8

After Allah mentioned a set of commands, He then warns against turning away from them and mentions the evil outcome of doing so. He says: There are many communities whom I took to account severely for their evil deeds, after they had disobeyed the commands of their Lord may He be glorified and His Messengers (peace be upon them). I also punished them with a horrible punishment in the world and the afterlife.