Do you see hard times in your life as challenges or opportunities? It takes some practice, but you can actually train yourself to see every piece of adversity in your life as a chance to be better.
How? This. Rewire your mind to think that every time something bad or hard happens to you, you'll be better after it's over. Yes, all things end eventually. Bad times, good times, and our lives.
Always remember that the dark gives way to the dawn. You'll be stronger because of the hard things that have happened to you, not the good things. Remember that fact.