Husbands leaving me...

Joy • My name is joy, currently pregnant with baby number one
Okay so three night ago AFTER my husband pushed me to the ground wanting my phone, holding me down and screaming at me, I had a miscarriage that night, he didn't wanna go to the er with me so now he doesn't even believe I was really pregnant. So now that I'm not pregnant anymore HES the one filing for divorce and says that HE can't take this anymore. I'm sorry but WHAT THE FUCK, (excuse my language I'm just pissed) After everything I've done for him after working 12 hours every night I would come home and take a freaking nap for 3 hours get up clean and make him dinner JUST so he would have nothing to yell at me about. 4 days ago I lost my job, 3 days ago I got pushed to the ground and then had a miscarriage, yesterday he left, today we file for divorce........ I am so devastated but at the same time he was just like another "bad boyfriend" even though we have a child together in heaven gives me no reason to stay with this "man". I should be the one filing for a divorce after all the bullshit he's put me through. Am I doing the right thing? I need encouragement because I love this man more than I have ever loved myself. It's extremely hard to just pick up, brush things off, and leave.