Charles Horton Cooley said this quote

Failure sometimes enlarges the spirit. You have to fall back upon humanity and God.