Tbh it actively grinds my gears when people think so little of a god they supposedly believe in. They think he wouldn't be their biggest supporter in leaving awful people.
He's likely up there watching this soap opera unfold like 'Get out of there Megan! I gave you one life and THIS is what you're doing with it!? ...and you're...wait...you're blaming ME for it? Nah. Its all on you this one'.
If the problem is your religious COMMUNITY - then you need to get another one. But don't confuse religon and god, and remember your allegiance is with him, not what the people of your church might think.
Surely God loves us and wants us to thrive. That doesn't mean we get everything we want or that there aren't tests sometimes. But sometimes the test is simply knowing your bloody worth! Knowing life is to precious to ruin running around after people who treat you badly and worse, are a threat to you!
What do you think suffering in this life and being a martyr will get you a free pass through the pearly gates? Afraid not.
You'll get up there and he'll ask you why you thought a life he gave you was so worthless that you wasted it being a punching bag, to a bully. Perhaps even why you thought it was OK to continue to raise your kids in that household and inflict generational trauma on them, after it became evident this man was becoming violent.
I get that leaving seems hard. That divorce may cause you more alienation from your çurrent community. But don't blame your maker and hide behind him as a reason not to do something hard. I think you really need to consider that thats what you are doing. Using religion as an excuse to stay when the chances are god would be your biggest champion in getting yourself out.