Sorry you are going through this.
I can relate to some extent. After 10 years together, my partner became awful when i got pregnant (planned and longed for for two years) and finally moved in with him. He wouldn't lift a finger in the house, my stuff sat in suitcases in the garage, he wouldn't get house ready for baby. I was in tears at midwife appointments and it was a blight on an otherwise lovely pregnancy.
I totally lost respect for him. And realised he obviously didn't really care for me or our baby. We soldiered on once baby arrived, but I was miserable. When baby was 18 months I discovered that he was cheating on me - I kicked him out. I won't lie, it was really tough but it's been a year now and I know that I am happier than I was with him.
I remember feeling despair that I was growing old with a man who disrespected me.
Please know that your life is not over. If you can't make it work, it's sometimes better to end things. Better for you and for your kids.
Otherwise if there's a glimmer of hope, couples counselling may help?
Try to focus on your new baby. This is the beginning of a new time for you all, good things can happen, your life is not over x