OP, I know you said you're leaving the thread, but I hope you may at least come back to read responses from pp who are supporting you.
FWIW, I think you need to realise that you're stronger than you think, and that you can do this alone. This baby is yours, and if your DP won't treat you with respect, then you may have to face up to being a mother on her own. Except you won't be 'alone', you'll have lots of support, both in real life, and in places such as MN.
Your mental health, and by extension, that of your unborn baby, now have to come first. Stop trying to work out how to 'move forward' with this horrible man in your life. You can do better than him. You can give your child a relationship with her father, and I have the feeling you would facilitate that because it's the right thing to do, but you yourself can move on without him.
You deserve better. Believe that, and show him that. You keep saying it's '10 years down the drain' (or words to that effect) but, God willing, you'll be alive for several more decades. Give yourself the credit for believing you can make those decades better, with someone better. 10 years won't feel like any amount of time when you're 80 years old, and many years down the line with a man who treats you like you deserve to be treated.
Be brave, OP. Bin this man who treats you like shit in every respect. Have your baby, and build yourself a life where you know you are worth more than this. Because you are. Sending you very unmumsnettry
and a hug.