السلام عليكم و رحمة الله و بركاته
We learn in Surat ash-Shu‘rā’ that Ibrāhīm عليه السلام’s father and people rejected him and he left them because of their stubbornness on their disbelief saying which was documented by Allāh سبحانه و تعالى,
فَإِنَّهُمْ عَدُوٌّ لِّي إِلَّا رَبَّ الْعَالَمِينَ
"‘Verily! They are enemies to me, save the Lord of the 'Alamin’” [1] Then he starts describing who Allāh سبحانه و تعالى is, beginning with,
الَّذِي خَلَقَنِي فَهُوَ يَهْدِينِ
"‘Who has created me, and it is He Who guides me.’”[2]
Imām al-Māwardī رحمه الله explains the
ayah mentioned above, by mentioning two statements regarding it,
1) Created me with His blessings and He Guided me to His obedience.
2) The One who Created me for his obedience and Guided me to His Paradise.”
[3]
Al-Ḥāfi
dh Ibn Ka
thīr رحمه الله comments, “He is the Creator Who has decreed certain things to which He guides His creation, so each person follows the path which is decreed for him. Allāh is the One Who guides whomsoever He wills and leaves astray whomsoever He wills.”
[4]
Read more
here [1]Surat ash-Shu‘rā’, 26:77
[2]Surat ash-Shu‘rā’, 26:78
[3] An-Nakat wal-‘Uyūn
[4] Tafsīr Ibn Kathīr