Al-A'raf 7:72
فَأَنجَيْنَـٰهُ وَٱلَّذِينَ مَعَهُۥ بِرَحْمَةٍ مِّنَّا وَقَطَعْنَا دَابِرَ ٱلَّذِينَ كَذَّبُوا۟ بِـَٔايَـٰتِنَا ۖ وَمَا كَانُوا۟ مُؤْمِنِينَ
Faanjaynahu wallatheenamaAAahu birahmatin minna waqataAAna dabiraallatheena kaththaboo bi-ayatinawama kanoo mu/mineen
So We saved him and those with him by mercy from Us. And We eliminated those who denied Our signs, and they were not [at all] believers.
So, We saved him and those with him out of mercy from Us, and We eradicated those who rejected Our signs. They were not believers.