Failure is not the opposite of success.
Failure is not overcoming.
Success has plenty of “failure ” along the way – It is called learning. Learning what not to do and what you need to do.
If you never stop trying, you don’t fail. You may decide to stop pursuing a course of action as not cost effective, but that is not a failure, but a decision.