Dale Carnegie said this quote

The successful man will profit from his mistakes and try again in a different way.