Surah Al-An'am, Ayah 131 (6:131)
ذَٰلِكَ أَن لَّمۡ يَكُن رَّبُّكَ مُهۡلِكَ ٱلۡقُرَىٰ بِظُلۡمٖ وَأَهۡلُهَا غَٰفِلُونَ ١٣١
Arabic: King Fahd Complex Hafs text.
English translation
131. This is because your Lord would not destroy the (populations of) towns for their wrong-doing (i.e. associating others in worship along with Allâh) while their people were unaware (so the Messengers were sent).
Hilali and Khan (QuranEnc.com)