I grew up in a house where for the entirety of my childhood my father was pretty much an absentee thanks to his alcoholism. He held down a job throughout, but he often left my mother short of money because he'd drink every penny he had, so my mother had to pay for everything from her salary besides car expenses.
My father wasn't abusive to me or my sibling, but he'd often come home drunk and mentally abuse my mother by waking her and subjecting her to verbal harassment. It got so bad that my mother was twice hours away from walking out with us, but in the end she never did.
The peak coincided with my early teens, and it stressed my mother to the point whereby she became neglectful and violent towards me. Being the eldest, I got all the nastiness, violence, wrath, anger etc that my father really deserved, while my sibling, being a bit younger and my mother's obvious life-long favourite, was pretty much given all the remaining warmth and affection my mother had in her. Understandably my sibling doesn't really have the same mental picture of those days that I do.
Anyway, my parents stayed together, but that ultimately ruined my relationship with both of them as I grew into an adult. I still, to this day, resent my mother for being cold, unloving, violent, and spiteful towards me as a child/adolescent with no justification whatsoever, and more recently, I've begun to accept that my otherwise jovial, warm, gentle father was also and absolutely useless parent. I have no pleasant home memories whatsoever after about 4 or 5 years old until I moved out at 18, and I've spent every minute since having minimal contact.
Unhapppy homes completely ruin children mentally. I wish my mother had left my father, even though she swears to this day that after he finally stopped drinking, shortly before I left home, their marriage was much happier for the remainder of his life, and she's glad, on balance, that she stayed with him. I think she's in total denial about how she treated me, and also, she either honestly has no clue about how it affected me, or again, she will not bring herself to accept that it is pretty much entirely responsible for my life-long poor mental health.
Don't stay with him for the sake of your children. It'll destroy you, and by extension, them.