Al-A'raf
7:165

Al-A'raf 165

فَلَمَّا نَسُوا مَا ذُكِّرُوا بِهِ أَنْجَيْنَا الَّذِينَ يَنْهَوْنَ عَنِ السُّوءِ وَأَخَذْنَا الَّذِينَ ظَلَمُوا بِعَذَابٍ بَئِيسٍ بِمَا كَانُوا يَفْسُقُونَ

Fa lammea nasoo mea zukkiroo bihee ancayneallazeena yanhavna aanis sooi va aahaazneallazeena zaalamoo bi aazeabin baeesin bi mea keanoo yafsukoon(yafsukoona).

So when they forgot what they had been advised with, We rescued those who forbade evil. And We seized those who did unjustness with an evil torment because they were in ungodliness.

...