Last H1B attempt: how to cope?

As title says I will have my last H1B attempt this year. I feel uneasy everyday thinking that I failed to get my life together by age 30. I cannot get myself to enjoy memories, friendships or relationship anymore because I am stuck in a limbo.

I did everything right - never cheated or took a shortcut but the only thing holding me back has been my luck with this damn lottery. Ik comparison is a thief of joy but 100% of the people I know have either gotten H1B by now or just married for GC. Hard not to feel like a loser comparatively.

How do you get over this feeling? Looking to hear new perspective as I am tired of my own.

TIA