Your analogy, to me, seems quite sound. Except that telling the healthy foods I sometimes eat a sundae is meaningless. Nevertheless, this individual purposely sought to have an extramarital affair, behind his wife's back. This is now coming back to bite him in the ass. Pretty much in the same way as when, say, a 'friend' of his, spilled the beans to his wife. That might be painful, but not a problem with the friend, but with the adulterous husband.