Does no one believe in working it out?

Whenever I see a post about a cheating or "bad" spouses the responses are always: Leave, get out, pack his shit, etc. Does no one believe in working marriages out? I truly believe if my husband had an affair I would be devastated and heart broken, but I would want to work it out. I made a vow and we are a family.