We destroy our self-confidence by remembering past failures and forgetting all about past successes. We not only remember failures, we impress them on our minds with emotion. We condemn ourselves. We flay ourselves with shame and remorse (both are highly egotistical, self-centered emotions). And self-confidence disappears.