Scientists at Northwestern University’s Kellogg School of Management have established a causal relationship between failure and future success, proving German philosopher Friedrich Nietzsche’s adage that “what does not kill me makes me stronger.”

Source: Science demonstrates that what doesn’t kill you makes you stronger: Researchers find that early-career failure promotes future professional success — ScienceDaily

It’s only a casual relationship, and remember, causation does not mean correlation.