Yes, I'm sorry. It's especially frustrating when you really put alot of energy and effort into something and it doesn't work out. It seems to me that it's about finding the right person though. We all bring imperfections and problems into a relationship, but it's about finding someone who has those faults we can deal with.
Maybe, finding someone who understands how you feel, someone who has more depth of understanding. However, it is hard to find the right person. Sometimes we look for the wrong things in people. However, please don't be down on yourself because of it.
You could maybe just take a break from entering into a relationship. Do some things you like to do, enjoy your bit of freedom. Sometimes if you aren't looking and are happy with yourself the right person will come along.
Relationships are pretty complicated and who is attracted to us and who we are attracted to can sometimes even be different. I don't think anyone has any of the answers.
Our worth isn't based on whether we have someone in our life. Our worth is based on the kind of person we are, and it sounds like you really have been working on yourself--and that's commendable. We all have to keep doing that--even if it's a struggle.
When I was single someone told me that if you aren't happy single you wouldn't be happy married. I took those words to heart and really tried to be a happier person. I think that has helped me alot in my marriage, because I came into the marriage as a person who really knew myself and tried to be happy.
If you can try to enjoy single life. I know it's very lonely. However, if you can stay busy, have friends, and try to help others when you can. I did alot of volunteer work and that was very satisfying.
In time the right person will come along who will love you for you. Meanwhile, I hope you can try and find some comfort in knowing that you are a worthy person on your own.