Al-An'am 6:131
ذَٰلِكَ أَن لَّمْ يَكُن رَّبُّكَ مُهْلِكَ ٱلْقُرَىٰ بِظُلْمٍ وَأَهْلُهَا غَـٰفِلُونَ
Thalika an lam yakun rabbuka muhlikaalqura bithulmin waahluha ghafiloon
That is because your Lord would not destroy the cities for wrongdoing while their people were unaware.
That (Allah sends messengers) is because your Lord is not to destroy any towns on account of any wrongdoing, while their people are unaware.