Every couples counselor in the world recommends not making life changing decisions in the heat of emotions -- anger, grief, etc. I hope you both can take some time to reevaluate before making any moves. Your DH saying those things to you probably comea from his own suffering -- seeing you suffer, fearing his inability to contril the situation, fear of losing an unborn child. Not an excuse for him, but I image he's in a hard place to to suggest anything I'm inferring here. You are NOT a bad mother, or a bad woman, or a bad person. Many husbands don't get ot, and many have a hard time verbalizing how GD makes them feel, especially if it's their wives' GD. Pregnancy is an impossible to describe period of time to men, and I don't think they (or even us) can navigate that turmoil alone. Couples counseling could really help.
If you haven't felt a benefit from counseling before, perhaps you didn't find the right therapist OR the right method. CBT isn't for everyone; some people benefit more form psychotherapy, EDM, biofeedback, or just CBT from a different practioner. I really hope you keep looking for help. I had horrible experiences with therapy as a child, and now don't think I'd still be alive if I hadn't found my current therapist who's been my rock. It's worth it to find one, because you DO deserve to be happy, but I don't think you're capable of seeing that right now by yourself. There isn't a proper way to feel in all of this -- it's ok to not want this baby, it's ok to not want to be pregnant. The issue is when you feel unable to make a healthy decision (not taking care of yourself, for one) or think you don't deserve happiness. Those are far more troublung to me than any sort of dark thoughts towards your baby. The dark thoughts towards him can change -- the "don't deserve happiness" and "inadequate" might stick around in other ways postpartum, so please, please try and talk to a professional.
I'd add, too, that pregnancy or wanting a baby are hardly the most basic parts of motherhood. People have been thrust into motherhood by force for milennia, or adopted, etc. Just trying your best is enough, and frankly? You're already doing that. You sought help, advice. You're challenging your dark thoughts. You're already worried about your unborn son's future.
It's hard to see it in the state you're in -- I know it well. But you're not horrible. You're going through something really hard right now. I'm just so sorry your husband isn't offering the support you need.

