hi narkedagain
I'm so sorry to hear of your situation.
Please please please don't do anything rash. Wait and see what tomorrow brings and how you will feel in the morning.
You must be feeling awful and I empathise with you,whilst we don't know the ins and outs of what is going on in your relationship, it sounds like your DH is an emotional bully. What person in a loving relationship would undermine their partner and make them feel worthless or a bad parent?
No parent is perfect. Everyone has their "cross to bear", imperfections, faults, issues etc. Some parents battle with addictions, some parents battle with illnesses, depression, past traumas, shock etc. NO ONE GETS EVERYTHING RIGHT.
The fact that you are worrying about your parenting shows that you love your children and want the best for them. So in order to make a good decision you need to thing about this long and hard. My husband's mother left him and his sister when he was a child and it caused definate issues when he grew up. So please, don't let anyone tell you you are not a good parent. Regardless of what your other half says, your children need YOU.
Wait till the morning, till you can think clearly. Call friends, post on here, do whatever it takes to stop you from making a potentially huge decision whilst feeling like this,
Sending you hugs and love