[...]if that's the case who should quit for who.
Battle of the sexes? If you're going to ask this hypothetical question then at least provide more context like who is earning more and providing most for the family expenses. It's traditionally the Father's role but if this marriage is a 50-50 then both of them has to reconsider their gambling activities. I wouldn't say both should quit if they're able to manage it to a minimum.