If you're willing to fail interestingly, you usually succeed interestingly. - Edward Albee
While one person hesitates because he feels inferior, the other is busy making mistakes and becoming superior. - Henry C. Link
Most people die of a kind of creeping common sense. They discover too late that the only things one never regrets are one's mistakes. - Oscar Wilde
Our business in this world is not to succeed, but to continue to fail, in good spirits. - R. L. Stevenson
We do not know to-day whether we are busy or idle. In times when we thought ourselves indolent, we have afterwards discovered, that much was accomplished, and much was begun in us. - Emerson
Hard Times. In this contradictory world of Truth the hard times come when the good times are in the world of commerce; namely, sleep, fulleating, plenty of money, care of it, and leisure; these are the hard times. Nothing is doing and we lose every day. - Emerson, journal
When you reach success you are done (for now), and can enjoy the momentary satisfaction of having manifested your intention.
When you fail, you get to learn, to introspect, to face your emotions and often your "shadow" -- all the education and patterning which make you flinch or love yourself less in the presence of mistakes/failure.
It's an invitation to learn to work with these, to learn new ways to approach the issue, to improvise, be creative, to grow, to improve and master yourself and the matter at hand.
Worth celebration, but very much not "just like success."
A third option, which anyone touched by stoicism or let's say vipassana would be aware of, is to be equally equaniminous to each.
Learn to reduce the amplitude of the hope and fear associated with each. This will give you access to calmer, steadier experience as you create, manifest, learn and grow.
Your goal should be to identify the major risks in whatever you're doing, and then set your success criteria to either confirm or overcome those risks as quickly/cheaply as possible. Failure is then only whether you spent too much time/money, not necessarily what the outcome was.
I suspect that most people who do this also don't see "success" as a finite achievement - a thing to be reached, celebrated and completed. Success is a constantly moving target, and requires overcoming many small failures.
People need perspective including into the scale of risk -- and to whom.
Some things are recoverable. Others are not. Don't confuse them.
Also, don't wager other people's futures with your own rash and inexperienced actions.
Everyone gets a participatory certificate and one person ended up becoming a winner. I don't think the winner knew upfront before the race that he would be the winner.
It's probably not a good idea to treat them the same, but maybe trying to celebrate the effort, not the outcome.