"I made an error in judgment, one that almost ruined my marriage."