I cheated on my ex girlfriend and broke up with her out of guilt.
I'm surprised by this. Tell me more about why you broke up with her.
well, cheaters always ends up by leaving anyway.
It would be best to break up with your girlfriend, rather than continue to hurt and betray her. In the future, it's more appropriate to end a relationship before cheating.
Yeah I didn't want to hurt her. I was unworthy of her.
If that is how you felt, then you did the right thing. No partner would tolerate cheating.