Laurence J. Peter said this quote

The great question is not whether you have failed, but whether you are content with failure.