Charles Murray said this quote

People need self-respect, that self respect must be earned – it cannot be self-respect if it's not earned – and the only way to earn anything is to achieve it in the face of the possibility of failing.