Am I wrong for this?

For years I had a very toxic friend. Anytime plans were made independently not to leave her out purposely but sometimes she wasn’t included not for shady reasons just because you’re allowed to have other friends and hang out with them. For YEARS if there was ever a 3rd friend we always got into fights if plans were made without her. We’ll just recently we stopped being friends and before that, she would accuse me of leaving her out and making plans without her when I would try to include her and either she didn’t get back or she couldn’t go ( that’s it, those two examples ) after months of her accusing me, calling me all sorts of names writing status about me on fb. I finally cut her off, deleted her as a friend from all platforms. But I started hanging with the girl she always accused me of hanging with when I didn’t. Am I wrong for this? I feel like she more or less pushed me to do it. I DO WANT TO ADD- plans that happened without this girl was very RARE! This friend I hang with now we only hung out once by ourselves by accident we were supposed to hang with this girl but she didn’t show up. After that we tried but there’s only so long you can take disrespect and someone accusing you or calling you names before you get tired