Failure is an absolutely essential aspect of growth. Everything you want to improve must be pushed to the point of failure.
Muscle-building at the gym is a good example of this- without hitting the point of failure, your body will not grow and develop to meet that new challenge.
Many people are afraid of failure, in that they feel shame - the idea that something is wrong about failure.
Instead, embrace and pursue failure. Ask every day "How have I failed today?".