Al-An'aam • EN-KASHANI-TAFSIR
﴿ ذَٰلِكَ أَن لَّمْ يَكُن رَّبُّكَ مُهْلِكَ ٱلْقُرَىٰ بِظُلْمٍۢ وَأَهْلُهَا غَٰفِلُونَ ﴾
“And so it is that thy Sustainer would never destroy a community for its wrongdoing so long as its people are still unaware [of the meaning of right and wrong]:”
That: a reference to the sending of messengers [to them], the explanation of signs and the reinforcing of arguments through warning and threat. In other words, the matter is that, because your Lord would never destroy towns while they were heedless through [an act of] injustice, since that is contradictory to [His] wisdom.