To prevent this, self-esteem needs to be grounded firmly in self-acceptance. The concept of self-acceptance is based on the knowledge that we are all fallible human beings, we all make mistakes and nobody is perfect. So although you would like to be 100 per cent perfect all the time, the important thing is to learn to accept that sometimes you will be wrong and you are fallible.
Self-esteem without self-acceptance sets you up for disappointments, stress and unhappiness when misfortune arises and self-esteem is attacked. You need to learn to accept yourself, warts and all. One advantage of this is that it becomes easier to accept others and their fallibilities.