When we’re energized by failure, we develop emotional stamina. And emotional stamina makes it possible for us to hang in longer, to do much harder work, and to tackle more complex challenges. We need this kind of optimism in order to thrive as human beings.