Did I do the right thing by breaking up with him?

We dated for a month after knowing each other for a week. He fell HARD for me, and to be honest I fell for him too. However, I kept noticing I was being toxic and wishy washy. I kept getting upset over little things. I couldn't bear to keep hurting him, so I broke things off after a month. Instead of relief, I feel... empty and guilty. I also just don't feel sexual with him while he wants sex.

If I can't give him sex and be a healthy partner, then I should have ended things. Am I right for breaking up with him? He's so upset right now and I feel awful for hurting him...
Did I do the right thing by breaking up with him?
Post Opinion