It is Allah Who creates and directs all the events; how they will begin and how they will end. It is again Allah Who determines every movement of every star in the universe, every state of every living thing on Earth, the way one will live, what one will say, what one will encounter, as expressed in the verses:
“Verily, We have created all things with Qadar (Divine Preordainments of all things before their creation)”
“No misfortune befalls on the earth or in yourselves but is inscribed in the Book of Decrees, before We bring it into existence. Verily, that is easy for Allah.“
The believers should be aware of this great reality, and in consequence, should never act ignorantly as those who deny it. Having understood that life is just “following destiny”, they never become disappointed or feel afraid of anything. They become confident and firm as the Prophet Muhammad, who told his companion, “Be not sad, surely Allah is with us.” (Surat at-Tawba, 9:40) when the latter was apprehensive about being found in the cave by the idolaters who wanted to kill them.