Sure Al-A'raaf

7:175

وَٱتْلُ عَلَيْهِمْ نَبَأَ ٱلَّذِىٓ ءَاتَيْنَٰهُ ءَايَٰتِنَا فَٱنسَلَخَ مِنْهَا فَأَتْبَعَهُ ٱلشَّيْطَٰنُ فَكَانَ مِنَ ٱلْغَاوِينَ

Und verlies ihnen die Kunde von dem, dem Wir Unsere Zeichen gaben und der sich dann ihrer entledigte. Da verfolgte ihn der Satan, und so wurde er einer der Verirrten.

Tafsir 7:175

Recite to the Israelites the news of the man from among them who Allah gave His signs to, so that he knew and understood the truth which they directed him to. But he did not act according to them, leaving them and removing himself away from them, so that Satan became his close companion, and he became one of those who go astray and are ruined, after he had been one of those who were rightly-guided and on the path to being saved.