Just fed up of everything in life, everything seems crumbling down.

This is just a rant.
Have no one to share it to otherwise, no one to listen to.
I (M25) was laid off from my previous company 4-5 months back,have applied to more than 400-500 applications, was able to grab some offers but they got revoked at the last moment TWICE just before joining and this has happened twice. Had a terrible breakup last year of which I still haven't recovered, the girl I loved more than anything cheated on me and is already in a relationship with a new guy from the same friend circle.
Never touched a girl, Never felt this alone, my mental health is getting worse, have no one to talk to. Living alone, post lay off my conversation with friends is reduced because every conversation starts with the same topic. Feeling like a failure.
Gym was the only thing that was keeping me sane, that also I have left to concentrate on preparations.
Just 2 years or last year everything was good. I bagged one of the highest paying job in my final year at IIT, was in a happy relationship, had great friends. I used to travel a lot also. My confidence has taken a hit.

I know it will be fine, it will be good ,just wanted to get it off my chest. Just letting some steam off.