That is EXACTLY what you should do. I call it moving forward with life. Putting YOU and the kids first. If he pulls his head out and recommits, fine, but until then get out of the way! Good for you.
This is how you use the negative energy you were wasting, on yourself. I bet you feel empowered. Move forward with vigor.