Is this selfish?

Jensen
My boyfriend and I have been dating for over a year now. After dating for a few weeks, I found out that he smoked pot infrequently. I was kind of upset because I'm extremely asthmatic and have anxiety issues so I was like "I'm not a fan of smoking". I came over one night and he was high and it just made me feel bad about myself because in my head he needed to be high to be happy and that I wasn't good enough. 
After a few months, I told him that it made me depressed that he smoked and he hasn't smoked since. I've felt guilty about it because I felt like it wasn't my place to tell him what he can/can't do. 
Was this wrong of me?