How not to get desperate? And how to find someone to date?

I have been on dating apps for 4 years, never got a single date out of it.
I have tried to make a friend with a girl and then get stuck in the friendzone.
And wasted my teenage years in studies, finding a job and just surviving never learnt.
Now I am struggling to find anyone to even go on a date with.
There is a ball dance next week.
And I haven't got any one I truly want to go at least once, this was my last chance to go with someone.
I took the masters after I was 26 just to give one more try and it failed.
It feels like I am a failure in my own eyes.
I achieved everything which is considered good in my own country and my own parents'eyes.
Now I need to learn how to let go and how to live happily alone cause it's lonely.
How not to get desperate? And how to find someone to date?
Post Opinion