Lonely

How do you get over loneliness? I feel like I’ve failed as an adult. I am not married nor do I have any kids. I just feel so alone and broken. I’ve had my fair share of failed relationships. I’ve been working on myself a lot. I’ve been trying to power through life even though I feel like shit. How do you cope? It just bothers me because I feel like I’m not good enough. Everyone is married or has a companion. I feel like something is wrong with me.