Does it ?

My boyfriend put his hands on me , and I hit back. Does that make me a bad person?i only did it out of anger because I got tired of getting treated that way.