The idea that “mistakes” and “setbacks” are a sign of failure is one of the greatest fallacies of our age.
A child falling while they learn to walk or ride their bike is not a failure.
Many (perhaps most) mistakes are good or necessary mistakes and the vast majority of setbacks are valuable experiences that can propel us forward.