Everyone experiences times when you don't succeed. Those are the times where you need to find ways to maintain your self-confidence despite your failures. Your failures do not define you any more than your successes define you. Yet how often do you give up your power to failures allowing them to create doubt and self criticism?
Confidence is both an "inner game" and an "outer game".