Woah thanks for sharing your situation. Talking about it to others sounds like a step in the right direction.
One thing to consider is what you are teaching your kids by staying. Kids have a habit of picking up on these things at an early age and can internalize the unhealthy relationship you have as ‘normal’.