Which is worse, divorce or a relationship that is a living hell?

13 years of marriage, 5 years of dating prior

3 kids 11, 9, 7 plus a dog

mortgage

no previous marriages

I've basically stopped putting in effort to sustain the marriage. I can't take nagging. I'm close to a turning point.