My ex was going through a lot too, but sometimes you have to put yourself first if it’s affecting you. I have severe BPD, anxiety and PTSD and it is never an excuse to treat someone poorly. She shouldn’t be in a relationship if she doesn’t have healthy coping mechanisms and clearly needs to be in therapy for a long time, possibly for the rest of her life if it’s affecting the people around her.