Dennis Prager said this quote

A good general rule is that self-esteem for its own sake turns out to be much worse than merely reinforcing unearned positive feelings about oneself. Not only does high self-esteem (especially when unearned) not increase “social responsibility”; it decreases it. The criminologist and sociologist Roy Baumeister, a professor of psychology at Florida State University who has spent a lifetime studying violent criminals, notes that the great majority of criminals have higher self-esteem than noncriminals. You need high self-esteem to think that rules apply to others but not to you.