Boyfriend isn’t ready to be a dad

By now I thought he would have been ready and been able to mentally accept it but I can tell by his actions and words and the way he talks about our baby that he’s not ready. My friends think I should leave him but I don’t want to do that to my baby. My due date was Sunday so there’s no more time for him to change. What do I do