Clarissa Pinkola Estés said this quote

Don't waste your time hating a failure. Failure is a greater teacher than success. Listen, learn, go on.