Surah Al-Qasas 28:59
وَمَا كَانَ رَبُّكَ مُهْلِكَ ٱلْقُرَىٰ حَتَّىٰ يَبْعَثَ فِىٓ أُمِّهَا رَسُولًا يَتْلُوا۟ عَلَيْهِمْ ءَايَـٰتِنَا ۚ وَمَا كُنَّا مُهْلِكِى ٱلْقُرَىٰٓ إِلَّا وَأَهْلُهَا ظَـٰلِمُونَ
And never would your Lord have destroyed the cities until He had sent to their mother [i.e., principal city] a messenger reciting to them Our verses. And We would not destroy the cities except while their people were wrongdoers.
Translation: Saheeh International
Tafsir
And your Lord never destroyed the towns because of evildoing on their part until He had raised up in their mother-town that is the major town among them a messenger to recite Our signs to them. And We never destroyed the towns unless their inhabitants were committing evil by denying the messengers.
Excerpt from Tafsir al-Jalalayn, commentary on 28:59, via Quran.com. The reader has the full commentary and 9 more tafsirs.