OP you will get lots of suggestions as people like to feel that getting into a relationship is within their control and was because of something they did, rather than pure dumb luck. People can’t handle the fact that with just a bit of bad luck they would be in the same position as you! The truth is - not everyone meets someone!
I was in a similar situation to you - I had had a couple of relationships when I was younger but then was single for most of my twenties as all my friends settled down around me. I did ALL the right things - took care of myself and my appearance, took up hobbies, lived in a big city and said yes to every invitation I was given, did OLD, dating apps, asked to be set up on blind dates, tried actively dating people who weren’t my “type”, tried FWB (this didn’t work and just hurt me, DONT do anything sexually you’re not comfortable with!), focussed on other things so settling down didn’t become an obsession. But the loneliness ended up becoming crippling.
All my friends said they couldn’t understand why I was single - I’m decent looking, good figure, friendly and fun person with a good job and plenty of friends. It just didn’t happen for me!
How I dealt with it in the end - I accepted that it wasn’t going to happen for me and focussed on “plan B” for my life. I had a bit of break down around my 30th birthday, which coincided with the year a huge number of my friends got married and a couple started having kids. I essentially felt almost suicidal. Then I had a bit of an epiphany - I can either see it as my life hasn’t worked out and end things, which would be such a waste, or I could see it as my life isn’t going the way I planned…so time to get a new plan!
I thought about what I wanted most and realised it was children. So I started making plans to go down the adoption route (after looking into sperm donation and deciding it wasn’t for me). I planned to move close to my parents for help and to move to more of a family style home. I was also going to switch jobs to one with more family friendly hours. During this planning period I totally forgot about wanting a partner, I mean totally! It no longer crossed my mind at all and I was fully focussed on meeting the adoption criteria.
Of course, that was when DH entered my life! Totally unexpected and honestly I was very unsure for the first few months as I was now fully invested in my adoption plan and DH was a bit of a distraction from that! So it worked out well for me as we’ve been together 5 years now (married for 2). I still pinch myself sometimes in disbelief that he’s mine! HOWEVER… I know I would have been fine if he hadn’t turned up as I was so happy and focused on my new plan I no longer needed a relationship to feel fulfilled. It also gave me time to meet someone a lot later, after my child bearing years had passed.
Best of luck; you will find your path eventually!