This discussion is about how to remain happy in spite of our losses or defeats, or perhaps even because of our defeats. We cannot always control the outcome of whether we win or lose, even in the face of our greatest efforts.
Sometimes victory and achievement lies beyond our power to control. What we can control are our attitudes, behaviors, processes, and actions in the process.
Do not focus so much on what you get by achieving your goal but instead upon who you become in pursuing your goal. Set difficult goals, deliberately face adversity, and give yourself the chance to grow and to prove your potential to yourself. That is happiness.
Happiness is about confronting challenge, and being vulnerable enough to risk the possibility of potentially failing, but of showing up all the same.