There are plenty of encouraging platitudes out there about failure, some better than others. My personal favorite is one that's probably apocryphal, or misattributed, drawn from Kung-Fu:
"There is no such thing as losing. You win, or you learn."
There's also the famous and much mangled story of Edison's thousands of failed light bulbs framed as steps tow…