Nora Ephron said this quote

Failure, they say, is a growth experience; you learn from failure. I wish that were true. It seems to me the main thing you learn from failure is that it's entirely possible you will have another failure.