Everything in Life comes in duality, whether it is days and nights, summers and winters, mind and matter created by GOD or it is the pleasure and pain, success and failures experienced by Man. It is so because both the things are incomplete without each other. If there will not be failures, success will also cease to exist as both are two sides of same coin.
The irony is that we as humans inspite of knowing this fact from deep inside of our hearts, seek and pursue one side of coin only. We forget that both the pleasure and pain are mere a play of Divine Mother to make us learn the lessons of life. Life teaches us lessons and gives us tips to establish equanimity of mind in all situations. If Failures are not accepted and are not taken as a precious gift of life to give us an opportunity to learn, Successes in any case cannot be digested and no learnings can be derived out of it. We all know that on one hand success gives as pleasure along with confidence and on the other hand failures give us pain along with opportunity to introspect, thus proved to be a better teacher of life.
If Life is taken as an Ocean sending us tides of Sukh and Dukh at different intervals, then the nature of these tides may not be in our hand, but what is in our hand is our reaction towards these tides. We may not be able to stop the tides of Dukh while allowing the tides of Sukha only, But we can surely control our mind and refrain it from being overpowered by varying emotional stimuli given by the Ocean of Life in the form of these tides.
We always have a choice to be happy always rather than getting affected and allow mood swings by the ups and downs of the Life. There is a difference in experiencing the momentarily pleasures and eternal bliss. If we are experiencing this world through our five senses, we will surely have to experience the pleasures and pains, Success and Failures also. But we can still be happy by choosing to be happy at all times, in all conditions. Manifesting excellence and to be happy are the two basic swadharma (nature) of our souls, It totally depends on us either to go against our soul or to align our actions to maintain the basic nature of our soul and performing well even at tough times, trying to excel in all the tests of LIFE.