Self-esteem is mostly self-delusion, but it serves a purpose. You are biologically driven to think highly of yourself in order to avoid stagnation. If you were to stop and truly examine your faults and failures, you would become paralyzed by fear and doubt.