Feeling like a failure

I feel like after 3 years and 6 months into this pregnancy it's over. I don't know how when we can't get along we are supposed to be parents together. He shows no affection he shows no interest in me and called me bitch again. Then doesn't understand why I tell him to just leave.