This is one of my favorite quotes of all time. I'm putting it on my three blogs today as it is applicable to all things and all areas of life. On many occassions I have turned to this message for strength and inspiration. It's helped me know that no trial is wasted.
Elder Orson F. Whitney said: “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 and which will make us more like our Father and Mother in heaven” (quoted in Spencer W. Kimball, Faith Precedes the Miracle, 98).
I hope this helps you as much as it's helped me.