And We did not wrong them... It was they who wronged themselves!
Al-muntakhab fi tafsir al-Qur'an al-Karim
We never acted unjustly or unfairly to them nor did We not observe the principles of justice and fair dealing. It was they who acted unjustly and unfairly to themselves and were wrongful of actions