Did I make the right decision by ending things with my boyfriend, because he was refusing to change?

We are (were) in a LDR. I told him several times, how certain things made me feel, but he kept on doing them. I just ended it and he blamed me for it, since it was my decision to break up.
Did I make the right decision by ending things with my boyfriend, because he was refusing to change?
Post Opinion