Gosh @Dogslife25, it’s really not my place, I’ll say a few things, please don’t take it as me attacking you.
One, kids know, young or old, but the know something is off, even with lack of life experience.
And according to my psycholigist and I notice this in myself, they blame themselves, that they ruined the relationship.
You said you’re taking it out on them, I’m sure that at some point you thought or told tourself that you’re staying as a favour for everyone else, that you made a sacrifice, I hate to tell you this, but no one sees it that way or cares.
They notice the tension, the silence, the brush offs, the passive aggressive jabs, the sighs, the eye rolls….
I don’t know how you take it out on them, is it sudden shouting, angry bursts?
Complaining about the husband?
All I can say I always wished they would have divorced, I’m more grown now though and realize that my dad may have been lazy and angry man when I was young.
But my mom was controlling, jealous, bitter, cruel, bully.
So had they divorced, would it been better, who knows…
In my case, it was two incompetent people, who had no business being married, nevermind to have a child.
Do you think you’d be healthier person and a parent if divorced? Then yes, you’re kids would be better off.
Final thing, do not ever tell your kids, you did it for them (staying I mean) they will not thank you.
If they ask just say that you thought it was best thing to do at the time. Or so you thought.