Surah Al-An'am 6:117
إِنَّ رَبَّكَ هُوَ أَعْلَمُ مَن يَضِلُّ عَن سَبِيلِهِۦ ۖ وَهُوَ أَعْلَمُ بِٱلْمُهْتَدِينَ
Indeed, your Lord is most knowing of who strays from His way, and He is most knowing of the [rightly] guided.
Translation: Saheeh International
Tafsir
Your Lord knows best those who stray from His way and He knows well the rightly guided and will requite both of them.
Excerpt from Tafsir al-Jalalayn, commentary on 6:117, via Quran.com. The reader has the full commentary and 9 more tafsirs.