little advice please

I am 8 weeks pregnant and classed as high risk due to the many miscarriages I have had... My partner and I have been together for around 5 years and the last 2 years I have seen a side where he likes to party. he would go out all night and wouldn't come home til 9am. the time he did come home at that time where I was up all night being sick having the runs I miscarried a few days later. after this I left him as i had enough. I bought my own house and have settled. 4 months after our break up we decide to get back, but see each other a few nights a week which has been brilliant. he goes out and comes home early and on time. fabulous. he's really started to prove himself.. so I found out I was pregnant and he advised that he will go out but will come home earlier so he knows im not stressed about it and yes he has done that. No all nighters, nothing... So tonight. he goes out to watch the the football and he is in by 7 the time he advised me he was coming home. fab. I even asked him does he want to stay put later because I'm tired and was gunna go bed. he said no he's happy in the house having a drink watching more football. he comes to the bedroom and asks me can his friend come over to watch the football and have a drink. I said sure no problem. Few hours later he's still downstairs jabbering on and I think have they brought drugs into the house. I text him and he ignored me. his friends leaves the house amd I go downstairs and asks him is he taking drugs. he says no. then I ask swear on your daughters life who is upstairs sleeping at this point. he says yes we are are and I'm sorry. his friend comes back and I flip. his friend says sorry and leaves. my partner then keeps saying sorry. we get into an argument... then to top it off he says can you forget about it please and go back to bed... he asks his friend to come back over with the drugs. his excuse is. I don't go out and you know I'm here safe. so what's the issue? basically he has chosen drugs over me and this unborn baby. I left the house and drove hime to my own home... he has me thinking.. am i in the wrong and should I have just gone to bed and forgot about it?