Failure is a great teacher and, if you are open to it, every mistake has a lesson to offer.
or simply: