OP One thing I'd say is that being married is not an antidote for loneliness. I have many long -married friends, most of whom are not with their soulmate and feel lonely.
There is nothing worse than being lonely in a relationship.
May of my friends are compromising in long 30+ year marriages.
If someone is married to their soulmate that's great, but I don't know of many who are. (And we are all 20+ years older than you.)
A relationship doesn't and won't fix loneliness.
You need to somehow be content with being alone and on your own. If you want a chap, companionship, sex, someone to see at the end of the day, and maybe children , that's fine.
But the grass is not always greener.
I'm sorry some posters felt I was being harsh. I'm not; I'm being honest. Seriously, I think you need some outside support from a coach, or CBT or a counsellor who can move you forward with your thinking.
You are allowed to feel sad of course. But ultimately you have control over what you do next. You can try to meet someone or you can accept that you don't want to do all the things that might help that to happen.