It is human to fail. I always tell my daughter it's alright to fail, as long as she learns from that failure and (hopefully) doesn't repeat the same mistake again.
Of course, some failures are a lot more catastrophic than others, and those can also potentially be impossible to recover from. I'm talking about permanent disability/death level of consequences. For those, I'd say a good amount of risk assessment and protection is needed, and perhaps a measure of luck/godly protection too.
All said, RNG is RNG, sometimes some people who get to a certain level of success need that bit of good fortune too.
Part of childhood is failing and learning from it, so hopefully, those catastrophic failures don't happen later. Last week, my daughter attempted an "air cartwheel" in our entrance and came crashing down on her chin. Thankfully, kids are more rubbery than adults, so some pain and a big bruise as a memory is all the damage done - she learned a lesson though. Hopefully it isn't to stop trying but rather, pain is just a feeling ;)