Possibly Verbally Abusive!!

Last night, I left my boyfriend. I felt that he was to verbally abusive. He was always yelling at me cursing at me and calling me names. He would get mad if I didn’t respond right away. Last night was the last straw, decided that I didn’t need it anymore. He would always tell me I was treating him like crap when I wasn’t. Got mad when I wouldn’t give him money for weed, or cigs. Mind you I have a baby of my own that my money goes to. He didn’t have a job to pay rent and would try and get me to give him the money and when I wouldn’t, I was called selfish. I loved him but that all changed. The night before, he told me that he threw an ex against the wall and threatened to slit her throat. Last night, he threatened to break down my door. He has so many issues. He has codes to hack things to download movies that are in the theater, to hack game systems. I am not bothered by him smoking weed, but since it is illegal where I live, I wasn’t going to risk losing my child and believe I could get in trouble too. Especially since I know the name of his weed dealer. Am I selfish for leaving him?