Logical fallacy. Doing one bad thing does not make one a "bad person" if such a thing even exists.
If the alternative is to break up a family so the cheater can be 'honest' with him-/herself, is a lie and a happy family worse than a broken family? Stop seeing things black and white.