All you can do is live life in the most fulfilling way you can.
I am male and women are not interested in me except purely as friends - and most of them are married anyway - so I can assure you nearly two decades after my episodic love-life with various girl-friends finally ended, that you do become accustomed to being single.
I've relatives and various circles of friends, all of whom I value, so I though alone I am not usually lonely, and then only for a short time.
Perhaps it's easier for me than for you to say it, because I am in my mid-60s, so at an age when it's easier to accept such a situation is both very likely to occur, and extremely unlikely to change.