I'm with @Wisdom3_1-9
Do you rate those things such as a a partner, children, a job, sex etc, important to your life because they're important to YOU, or because you consider it to be what OTHER people use to measure your apparent success?
If these things are truly important to you, then I can imagine the hurt and loss you'll be feeling.
But life isn't just about our success. Do you have anything that brings you joy? Films, books, nature? Life is to be ENJOYED. and enjoyed in YOUR way, so if you have anything, however seemingly small, that brings you joy then perhaps focus on those things?
If a job and relationship, is important to you, then I'm not convinced it is necessarily too late for you. Are there reasons you think this might not have happened for you in the past?
As a bit of hope, I went to a wedding last year and the bride was 56, never previously married or with children. Of course its just anecdotal, but your age isn't necessarily going to stop you right now .
Perhaps consider practical reasons youve struggled with finding a relationship, or a job, previously and start from there.
The forum might have people who can help give advice on practical things to help. Or just a bit of support and encouragement when it's needed.
Its worth trying, surely, before you decide to end your life?
Sending you lots of well wishes!