He (SWT) observes that ignorance...
He (SWT) observes that ignorance, misguidance, fabricated stories, fantasies, and darkness have become widespread. There is no guider to guide the people, no instructor to seek the true knowledge from, and no source of light in the midst of this darkness and misguidance. The true believers were waiting and anticipating the appearance of a prophet whom Allah (SWT) will send to lead the people from darkness of ignorance to the light of guidance, and to lead them to the true path of God.
Muhammad (SWT) was one of those devout believers who loves his Lord and seeks His worship and pleasure. But Muhammad is different from most or all of them as he follows the way of his grandfather Abraham (AS) who stated before, **"** I will go to my Lord!
He will surely guide me [37:99]!” And Abraham (AS) also said: **“** Unless my Lord guides me, I shall surely be among those who go astray [6:77]." Muhammad (SA) resorts to Allah (SWT) directly just like Abraham (AS) who was the first to accept Islam and the first to surrender to Allah (SWT) directly seeking His guidance. So, Allah (SWT) made Abraham a prophet and friend and honored and elevated him, and gave prophecy to his progeny and gave him the best and most noble attributes.
Similarly, Muhammad did the same. He resorted to his Lord directly asking for guidance and light and he headed towards it by his own free will, submitting his affairs to Him and seeking His help to take him out darkness and bring Him closer to Him and get to know Him better. He did all that with a surrendering, intact, and humble heart and an anxious soul to meet his Lord!
That is why Muhammad (SA) used to go out to the mountain alone from time to time to be away from the people and stay inside a cave to worship his God alone sincerely and seek his guidance and light.
He used to leave his beloved wife and household, his friends and his loved ones, and leave his home and place of comfort…to go out in the darkness of night in the midst of the desert and rocks and mountains…exposing himself to great dangers, beasts, scorpions, snakes, and thieves…to climb the mountain and enter a small dark cave! All that was for the sake of his Lord and out of love for Him.
This amazing scene repeats itself time and time again while Muhammad has all the perseverance to do so for years without being bored or desperate, and with all certainty that Allah (SWT) will guide and respond to him, just like he responded to his father Abraham (AS).