Al-Hasan al-Basri said: “Do not resent the calamities that come and the disasters that occur, for perhaps in something that you dislike will be your salvation, and perhaps in something that you prefer will be your doom.”
Almighty Allah tells us many times in the Qur’an that He is the most merciful, the most compassionate. Everything in this universe was created with love and compassion and if we keep this in mind as we steer the course of our life, we will see His signs all around us.
Almighty Allah says: “…it may be that you dislike a thing which is good for you and that you like a thing that is bad for you. Allah knows but you do not know.” (Al-Baqarah 2:216)
Therefore, we must have faith in Almighty Allah and trust in Him and even though sometimes we may not understand the reason behind certain things that happen, we should be sure that as long as we seek to obey Him, whatever happens will be for our betterment.