Insanity: doing the same thing over and over again and expecting different results. attributed to Albert Einstein
Humans tend to be creatures of habit. We do the same thing over and over because it is comfortable and familiar to us. The problem occurs when what we’re doing isn’t working for us we continue to do it.
If you take a look at your past relationships, I’m sure you can find similarities amongst your exes. What you need to do is to figure out which commonalities are good for you and which are bad for you. Then you need to correct the pattern(s) that aren’t serving you.