Surah Al-Qasas 28:56
إِنَّكَ لَا تَهْدِى مَنْ أَحْبَبْتَ وَلَـٰكِنَّ ٱللَّهَ يَهْدِى مَن يَشَآءُ ۚ وَهُوَ أَعْلَمُ بِٱلْمُهْتَدِينَ
Indeed, [O Muḥammad], you do not guide whom you like, but Allāh guides whom He wills. And He is most knowing of the [rightly] guided.
Translation: Saheeh International
Tafsir
The following was revealed regarding the Prophet’s longing for his uncle Abū Tālib to embrace faith You cannot guide whom you like to be guided but it is God Who guides whomever He will and He knows best those who will be guided.
Excerpt from Tafsir al-Jalalayn, commentary on 28:56, via Quran.com. The reader has the full commentary and 9 more tafsirs.