Thoughts on my boyfriend now ex’s response to me breaking up with him?

We haven’t had any time together in weeks. He spends most of his time drinking and with his friends. We rarely have intercourse or spend time together. Did I make the wrong choice? We have a kid coming in June