Did I make the right decision?

Jessica
I was in a relationship with this guy and I invited him over to my house. We went up to my bedroom and he touched my chest. I didn't know what to make of it at that point so I thought about it the day after. I had already told him not to touch my chest but he didn't listen and touched me again. So I broke up with him. Did I make the right decision?