The roller coaster of abuse gives you a kind of high, it's familiar and draws you in. You probably won't notice people who aren't abusive, seeing them as 'boring' or 'not my type'.
Therapy would really help OP. You could contact NAPAC for advice on where to go from here. Check the BACP website if you can afford therapy, if not, research some charities, take a look at MIND, self refer via the NHS. Anxiety UK offer low cost therapy if you are on benefits or earning below a certain amount. Also check out EMDR and take a look at the symptoms for C-PTSD.
Take a look at the Freedom Programme which is currently running on Zoom. You need to start rewiring your brain and you can start with your low self esteem. You have a certain ingrained image of yourself and abusers are treating you as worthless because you feel worthless. You seek out people who make you feel bad because you feel like a bad person that doesn't deserve to feel good about yourself.
Depending on fitness levels take up yoga or something like qigong which is a healing exercise. It reconnects you with your body. Abuse dissociates you from your body and your feelings. Practice mindfulness which after a while, will help you to catch those negative thoughts and stop ruminating. Try the Headspace app for guided meditations.
Look after yourself because you are unique and special. Start your day with positive self affirmations: I'm a good person. I'm kind and worthy of love. Find something that works for you. Eat well, cut down on drink and focus on building positivity, clearing out toxic elements like dysfunctional friendships and habits.
OP this is all aimed at rebuilding your self worth, trying to stop compulsive thoughts and feelings, reconnecting you with yourself and helping you build positive relationships with yourself and others. It won't all happen at once, it's a gradual process and you'll want to give up but don't. Just take it a day at a time, recognise the good things. Don't beat yourself up for having had bad relationships, pat yourself on the back for no longer being in one. Some days will be worse than others, breathe through it, journal and take care of yourself.