Shaykhul Islaam Ibn Qayyim al-Jawziyyah (rahimhaullaah) said: When a decreed matter occurs to Allaah’s a’bd (slave), which he dislikes, then he should have six perspectives about it:
First: The Perspective of Tawheed: And that Allaah is the One who decreed it and willed it and created it. And whatever Allaah wills comes to pass, and whatever He doesn’t will doesn’t come to pass
Second: The Perspective of Fairness: And that He ruled this event to occur in the past and that there is fairness in His Divine ordainment.
Third: The Perspective of Mercy: And that the person’s mercy with regard to this thing that was decreed supercedes his anger and vengeance
Fourth: The Perspective of Wisdom: And that it was Allaah’s infinite Wisdom that brought that about. He did not decree it in vain nor did He divinely execute it for no purpose
Fifth: The Perspective of Praise: And that to Allaah belongs the complete and entire praise for that thing that was decreed from every angle of it.
Sixth: The Perspective of Worship to Allaah (‘Ubudiyyah): And that he is a pure worshipper of Allaah from every standpoint. His Master’s Rulings and Decrees occur to him by virtue of his being Allah’s possession and slave. So Allah administers him under His decreed rulings just as He administers him under His religious rulings. So it (i.e. the decreed event) becomes a place for these rulings to occur to him.