(131) ذلِكَ أَنْ لَمْ يَكُنْ رَبُّكَ مُهْلِكَ الْقُرى بِظُلْمٍ وَ أَهْلُها غافِلُونَ
131. " This is because your Lord would never destroy the towns unjustly while their people were negligent."
One of Allah's ways of treatment is that, by sending prophets and different kinds of warning, He shows right and wrong to people and states the facts for them to complete the argument. It is in that case that if they behave heedlessly, He will punish them.
This general law and way of treatment is referred to in numerous verses of the Qur'an, including : Sura-Ash-Shu'ara, No. 26, verse 208 which says: " And We did not destroy any town but it had (its) warners :", and Sura Al-'Isra', No. 17, verse 15 where it says : "... nor do We chastise until We raise an apostle."
Therefore Allah's chastisements are given because of justice which exists in the Essence of His Lordship.
Regarding to this, it can be said that punishment without former statement of admonishment and warning, is unjust and is a vice.
* * * *