Pregnant and depressed

I’m so happy I’m pregnant. It’s been so much joy and nothing but happiness. But recently life took a turn and I’m now depressed. My husband cheated. And now my life is going to change. I still feel happiness when I feel my baby boy kick. But now I’m just falling into a deep depression. I feel like if I wasn’t pregnant I would hurt my self. I don’t want to eat but I eat because I know my baby needs it. He is the only thing keeping me going because I’m just so broken. I’m angry at my self even though I know I shouldn’t be I can’t help feeling disgust looking into the mirror. I can’t help but think that I deserve nothing but hate in this world. I don’t want my depression to effect the baby... I’m just so lost lonely and confused