Edith Wharton said this quote

Her failure was a useful preliminary to success.