If you want to change how you see your problems, you have to change what you value and/or how you measure failure/success.
Mark Manson,
The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life
The Subtle Art of Not Giving a F*ck by Mark Manson