Why I mention friendship is that, whilst there may not be a woman out there for everyone, I do believe that there are friends out there for everyone, I am 32 years old and have gone back to college, there is this Gen Z fellow there, and I am one of his very few friends, I asked him how many friends he retained after high school he said ZERO. Even I have a circle of friends from high school, who still meet up with each other.
If you truly have no friends then (and this is going to sound blue pilled) much like blue pillers tell you to make the first move with women, you need to initiate a friendship with a guy friend. There seems to be among men your age this loneliness epidemic so I would imagine the answer to that is to meet up with like minded people in your exact situation, not quite sure how, but one way of meeting people is to join your local church.
Why church? In reality people will try to engage in what I call trade relationships, you offer x and they offer y and x and y are roughly equal to each other in value. In church, at least in principle, this is supposed to be different, there exists charity relationships, as Christ himself demonstrated in interacting with people of low regard, not with equals.
This is the nature of the eucharist, not only is the being of Christ poured out to all, so that the Christians take in his being, Christians themselves are then obligated to do as Christ did, to become a living sacrifice, because encounters with the risen Christ are, in this present age, encounters with the members of His body the Church, as it is written 'where two or more gather in my name, there am I in the midst of them'.
I suggest, and can only suggest, that you don't give up, life is full of struggling and suffering true, but there is also great beauty (as shown by the music of Wagner I linked, as well as literature), love, the intricacies of nature as are expressed by science. The life of struggle in Christianity is called the Way of the Cross (I believe in Islam there is the idea of personal Jihad). The Kingdom of Heaven in all its beauty and glory cannot then be found without the struggle that precedes it. As Jesus said none can be my disciple except they first forsake their selfish ways, take up their cross, and follow me.