Am i wrong ?

I'm 18 I'm 23 weeks pregnant and plan on moving out soon my mother keeps saying she doesn't want me to move etc. But she has so many issues for one she doesn't want to work therefore we can barely pay bills, she does drugs ( she doesn't even know that I know about that ) and I don't like the company she keeps all of them are either on drugs or sell them I know it could be a lot worse but this is not the type of environment I want my child in 🤷🏼 whenever I try to talk to her about it she gets angry and says that I'm over exaggerating am I wrong for leaving her ? I've tried all my teen life to help her and talk to her I'm not sure what to do at this point.