وَإِذۡ قَالَتۡ أُمَّةٞ مِّنۡهُمۡ لِمَ تَعِظُونَ قَوۡمًا ٱللَّهُ مُهۡلِكُهُمۡ أَوۡ مُعَذِّبُهُمۡ عَذَابٗا شَدِيدٗاۖ قَالُواْ مَعۡذِرَةً إِلَىٰ رَبِّكُمۡ وَلَعَلَّهُمۡ يَتَّقُونَ
And as a (certain) nation of them said, "Why do you admonish a people whom Allah (is) causing to perish or tormenting with a strict torment?" They said, " (As) a (possible) excuse to your Lord, and that possibly they would be pious.".
فَلَمَّا نَسُواْ مَا ذُكِّرُواْ بِهِۦٓ أَنجَيۡنَا ٱلَّذِينَ يَنۡهَوۡنَ عَنِ ٱلسُّوٓءِ وَأَخَذۡنَا ٱلَّذِينَ ظَلَمُواْ بِعَذَابِۭ بَـِٔيسِۭ بِمَا كَانُواْ يَفۡسُقُونَ
So, as soon as they forgot what they were reminded of, We delivered the ones who were forbidding odious deeds and We took (away) the ones who did injustice with most miserable torment because they were acting immorally..
فَلَمَّا عَتَوۡاْ عَن مَّا نُهُواْ عَنۡهُ قُلۡنَا لَهُمۡ كُونُواْ قِرَدَةً خَٰسِـِٔينَ
Then as soon as they rebelled against what they had been forbidden to do, We said to them, "Be you apes, (totally) spurned!".
وَإِذۡ تَأَذَّنَ رَبُّكَ لَيَبۡعَثَنَّ عَلَيۡهِمۡ إِلَىٰ يَوۡمِ ٱلۡقِيَٰمَةِ مَن يَسُومُهُمۡ سُوٓءَ ٱلۡعَذَابِۗ إِنَّ رَبَّكَ لَسَرِيعُ ٱلۡعِقَابِ وَإِنَّهُۥ لَغَفُورٞ رَّحِيمٞ
And as your Lord has notified that indeed He will definitely send forth against them, to the Day of the Resurrection, ones who would mark them for an odious torment. Surely your Lord is indeed swift in punishment, and surely He is indeed Ever-Forgiving, Ever-Merciful..