I totally agree with Nietzsche's point of view on hardship. I used his philosophy to overcome the pain of failing a subject. he said that instead of putting failure aside, we can use it for cultivating beautiful things.
You might want to check on these videos!
Part I- Guide to Happiness
Part II - Guide to Happiness
Part III - Guide to Happiness