Cheating partner during pregnancy

Partner cheated on me my entire pregnancy I kept forgiving him hoping he would change being that he knew how I felt I came to his house early valentine morning and he was laid up with a girl behind my back I suppose to been moving in the next day im currently 39 weeks pregnant he ghosted me for the other girl and beat me for catching him cheating I feel so angered and played and im becoming very depressed now Im going to be delivering my baby alone we been together going on 4 years he took care of my first baby that wasn’t by him that I birthed before meeting him now he’s leaving someone else to raise the baby we have together .. any words of encouragement? I can really use that right now im just not myself anymore