C.s. Lewis said this quote

Failures, repeated failures, are finger posts on the road to achievement. One fails forward towards success.