Both can be used as an incentive: to do it again.
Success doesn’t mean you are finished — it means to start something else.
Failure means to learn from it, adapt, and try again.
Either ways…. You keep going…
I can’t see any other way — simply because there isn’t.