Coparenting w someone toxic

I’m 36 weeks pregnant and I think I need to leave my boyfriend, he has shown me time and time again that he’s not ready to be a dad. He’s constantly going out binge drinking, he ignores me and calls me names and can never keep up w his half of the bills. We are having a son together and I know this little boy will look up to his dad. I want to teach my son manners and morals and let him know it’s okay to show emotion but I’m so afraid that his dad will teach him something different. Idk what to do, I’m hoping that once my bf sees our sons face it’ll make him want to be better (my bf says that he hopes for that too) and I’m not one to keep a child away from a parent that wants to be involved, I’m just scared it won’t be beneficial.