If he is not learning from his mistakes and continues to cause you heartache and pain, it is time to move on. Respecting yourself and having boundaries is always the right choice.
Love rules our hearts and our hearts don’t always lead us in the right direction. Our reactions towards someone we are attracted to can be premature or not well thought out. It is an addictive endorphin and like any drug, it can make people act out of character.