Our Beloved Prophet salla’Allahu ‘alayhi wasalam said: “Know that what does not afflict you could never have afflicted you; and what afflicts you would never have missed you.” He then followed the statement with the remedy for afflictions, “And realize that victory is with patience, relief is with stress, and indeed with difficulty comes ease.” [Nawawi’s 40 Hadith]

Taken from this very beautiful answer on the Seeker’s Guidance Website: Divine Decree, Contentment, and Lessons from the Prophet’s life (salla’Allahu ‘alayhi wasalam). Please read it!