Character is forged by failure. There are thousands of examples, and here are a few of them:
A worthy segue is the advice of psychologist Carol Dweck: Praise hard work, not intelligence, because doing the latter makes students unwilling to take chances that risk failure.