Surah Ash-Shu'ara 26:21
فَفَرَرْتُ مِنكُمْ لَمَّا خِفْتُكُمْ فَوَهَبَ لِى رَبِّى حُكْمًا وَجَعَلَنِى مِنَ ٱلْمُرْسَلِينَ
So I fled from you when I feared you. Then my Lord granted me judgement [i.e., wisdom and prophet hood] and appointed me [as one] of the messengers.
Translation: Saheeh International
Tafsir
So I fled from you as I was afraid of you. Then my Lord gave me judgement knowledge and made me one of the messengers.
Excerpt from Tafsir al-Jalalayn, commentary on 26:21, via Quran.com. The reader has the full commentary and 9 more tafsirs.