Life is a balance between holding on and letting go.
If you are going through hell, keep going.
Dealing with failure is easy: Work hard to improve. Success is also easy to handle: You've solved the wrong problem. Work hard to improve.