<human>: As the title says, I broke up with my boyfriend of 1.5 years over text a few weeks ago. We were long distance (temporarily, just for the summer) and we had previously broken up but got back together. However, we'd been arguing for months and I was so exhausted. I know this doesn't excuse what I did at all, and when I think back I can't believe I did that to him (even though there were many things he did to anger and antagonize me as well). He treated me so well during our relationship and he still wanted to work things out, which makes my guilt even stronger. 

I realized that for the past few months, I've been treating him terribly in general. I checked out of the relationship around 2 months before the actual breakup, but I still don't know why I treated him so shittily. Has anyone ever been in this situation and learned to improve themselves? I'm not looking to get him back (I don't want to), but I want to learn to treat future partners with more respect then I did in this relationship.

Can you provide a brief overview of the text?
<bot>: Treated my ex-boyfriend terribly in the last few months. How can I learn to be more patient and respectful for future relationships?