This quote is worth remembering, for we all will have our share of trials in life: “No pain that we suffer, no trial that we experience is wasted. It ministers to our education, to the development of such qualities as patience, faith, fortitude and humility. All that we suffer and all that we endure, especially when we endure it patiently, builds up our characters, purifies our hearts, expands our souls, and makes us more tender and charitable, more worthy to be called the children of God, … and it is through sorrow and suffering, toil and tribulation, that we gain the education that we come here to acquire” (Elder Orson F. Whitney quoted in Improvement Era, Mar. 1966, 211).
It is taken from this talk, which is equally powerful.