My only definition of failure:
Being a coward in [x].
What is success?
Courage.
Acting courageously, and not obtaining your desired consequences isn’t “failure”. It is just practical information you can use to tinker, improve, and trial-and-error yourself forward and upwards!