Why do I keep surrounding myself with people who hurt me?

I have friends who say they love they love and care for me but disregarded my feelings boundaries and and constantly saying things that will bring me down along my moods I don't understand where I'm still friends within I tried so hard pull away and drown other friends but I find it so hard to know how to let go help me.
Why do I keep surrounding myself with people who hurt me?
Post Opinion