I think your story isn’t so uncommon, I think relationships aren’t easy for many people. I don’t think however you should think negatively about yourself because of this.
How about looking at yourself more kindly as a person who has value in themselves rather than what others think of them?