And it has never been the way of your Lord to destroy the townships unjustly while their people were righteous, dedicated to continuous self-reform and setting things right in the society
In truth your Lord did not destroy the communities unjustly while they were doing right. (Or for a few or minor wrong-doings, or while there were few wrong-doers, or while they had the potentiality to mend)
For, your Lord would never annihilate a community for wrong beliefs alone as long as its people behave righteously towards one another. (The Qur'an is consistent in its theme that people will be rewarded according to what they do YA'AMALOON, and not what they know YA'ALAMOON. The reason that the Book stresses so much on the right belief system, is that humans are strongly influenced in their behavior by what they think and believe)
It is not possible that your Lord would destroy the towns unjustly while their habitants were to mend their ways
Dr. Munir Munshey
Your Lord is not one to destroy a town unjustly so long as its residents are righteous
Dr. Kamal Omar
And your Nourisher-Sustainer was not (such) that He may destroy the habitations in (a rage of) injustice while their citizens may be such that they counsel people towards reform
And your Lord is not the One Who would destroy the townships unjustly (simply for their disbelief) while the inhabitants thereof (live in peace and) set things right