At some point, you will pursue something with all of your heart, and you will not accomplish what you set out to do. Not achieving your goal does not make you a failure.
Failure identifies a specific time and activity. A project can fail; a life cannot fail. Each person succeeds when they continue to push towards the next goal.
The next step isn’t easy, especially after you have failed at this time. But to advance to the next level, you have to keep moving.
Don’t give up; start forward.