Failure should be our teacher not our undertaker. Failure is delay not defeat. It is a temporary detour not a dead end. Failure is something we can avoid only by saying nothing doing nothing and being nothing.
One of the common failings among honorable people is a failure to appreciate how thoroughly dishonorable some other people can be and how dangerous it is to trust them.