For context, I'm currently in a very happy, stable, loving relationship. I do love my partner very much but for the past sometime I've been feeling very unstable and on the verge if breaking up with them. I've done this before too in a lot of "stable" relationships and I was the "unstable" one. I see this pattern where i leave people who are loving, stable and very loyal to me and go after people who are abusive and disloyal, who hurt me so very much. And i still stay with them, on the other hand I leave people who are kinda and loving to me and has been ever since i met them.

Is it just my character flaw or does this have anything to do with BPD?