Carl Jung said this quote

The psychotherapist learns little or nothing from his successes. They mainly confirm him in his mistakes while his failures on the other hand are priceless experiences in that they not only open up the way to a deeper truth but force him to change his views and methods.