George Eliot said this quote

The only failure a man ought to fear is failure in cleaving to the purpose he sees to be best.