I don't have an answer to this, but I think I can relate. I fell into depression once because someone made me feel I was worthless. I kept being friends with this person for some years hoping that he'll treat me better eventually and I'll be good enough for him. He kept on making me question my self-worth, and I just recently ended this relationship. I'm a bit lonely because of that, but I also feel like getting rid of toxic people in my life is some kind of progress for me.