This great quote by Pharrel Williams is great for changing your perspective on failure:
“Have you ever noticed when you think you failed, it’s the ego in your mind that tells you, ‘It’s so bad. Everyone’s looking at you.’ You start to sweat across your forehead, and you’re like, ‘Oh, my God, I can’t believe this is happening. The whole entire world is watching.’
And none of it is true. When you’re doing great, you shouldn’t listen to that voice. When you’re not doing as great, you shouldn’t listen to that voice.
Life is a rollercoaster. There’s valleys and peaks. When you hit that valley, if you can’t deal, then you won’t make it. So switch the word failure for lesson. All successful corporations do that. It’s called R&D.
You don’t have failures. You have research and development. You just have to change your perspective. There’s no such thing as a failure.”
— Pharrell Williams