weed was the reason

I just broke up with my boyfriend because he smokes to much weed. I asked him to limit himself and he told me he wasn't gonna do that and if I wasn't gonna accept it to just go. We dated for 2 years and weed has always been our main problem. I thought about ny future and how I don't want to be married to a guy who puts a drug before me. People are telling me i made a bad choice. What do you guys think?