<human>: Can you summarize the given text in a few sentences?

My ex and I broke up 4 months ago after dating for almost two years. I know that he put more into the relationship than I did and I was the reason we broke up. I was in the relationship for the wrong reasons and couldn't let go of it earlier due to personal issues. Ultimately the relationship served as a safety blanket for me. Breaking up has made me realize how shit of a girlfriend I was and since I have moved on and worked on sorting out my personal issues. I feel as though I want to apologize for the way I acted while we were dating. We've had occasional contact via texts but nothing more than that. Is apologizing a good idea? I do not want to apologize to get back with him, but just to clear the air and end our relationship on a good note.
<bot>: I was a shitty girlfriend and want to apologize to my ex. I do not want to get back with him, but feel as though I owe it to him. Should I do this, or no?