In pervious times there were more options because there was very little divorce and people, for the most part, paired for life, which meant one-to-one pairing was easier, and, for people who didn't pair up, there were options such as monasteries, convents, etc
I am not an expert, just an old man, so take this advice for what it's worth: perhaps try getting involved with a church in a volunteer capacity and really focus on volunteering/helping other people. This may lead to finding someone you are compatible with and, if it does not, will give you a family-like (with all the good & bad associated with that) environment in which to connect with other people.
Take care of you health (sleep, exercise, and eat well), dress in a put together fashion, take care of hygiene, have interests that excite you and you can share with others, and finally socialize more.
I think the best piece of concise wisdom I've ever read is, "to be interesting, be interested". Meaning not only to have hobbies and interests, but to be interested in the people around you.
You've also got to be be brutally honest with yourself about your prospects.
Pretend for a moment that mate desirability is objective and quantifiable, and that we've got every available woman in your area charted on a bell curve of desirability. The top 0.01% will say NO to you every time, because they're looking for a male in the top 0.01% of desirability (i.e. Gavin Newsome lookin' motherfuckers with Marth's Vineyard money). Meanwhile, the bottom 0.01% will say YES every time, because you're a HUGE catch from their perspective. Somewhere in the middle are many, many women who would be interested in you.
If you're struggling to find women who are interested in you, the cause is likely either A) not searching in earnest, or B) you're over-estimating your own desirability, and thus fishing in unproductive waters.
Myself, I think my problem was that I didn't want the job. I'm not even that thrilled about having to work my actual job.