Having been brought up in this situation myself, my feelings are complicated. Now my brother and I are adults our dad never shouts at us, but we will never have a close or 'normal' relationship.
My mum was a SAHM in the 80s and she worried that leaving him would put us in poverty, so she stuck it out until I went to uni and then divorced him.
Sadly, the damage had already been done by then as I had already put up with 4 years of an abusive, violent and toxic relationship from the age of 15. My DM was too caught up in her own failing marriage to notice what was happening with me. My reference point was completely messed up as my dad shouted at all of us nearly every day.
My brother also lived with a girlfriend who would regularly emotionally blackmail him, punch him and ended up throwing a kettle at his head, which thankfully missed and was the turning point for him to leave.
I don't think it's any coincidence we both suffered abusive relationships.
I wouldn't say I'd rather not have had Dad at all (he was also loving) but not having Dad living with us would have been better. I'd never tell my DM this, because I know she feels guilty, but part of me will never forgive her for choosing to accept an upbringing like that for us.