Surah Al-Qalam

68:7

إِنَّ رَبَّكَ هُوَ أَعْلَمُ بِمَن ضَلَّ عَن سَبِيلِهِۦ وَهُوَ أَعْلَمُ بِٱلْمُهْتَدِينَ

Indeed, your Lord is most knowing of who has gone astray from His way, and He is most knowing of the [rightly] guided.

Tafsir 68:7

O Messenger! Indeed, your Lord knows of whoever deviates from His path, and He is best aware of those who are guided to it. Therefore, He knows that they are the ones who have deviated from it, and that you have been guided to it.