My ex-husband and I had a messy divorce. For years I fought—unsuccessfully—logging weeks in New York courtrooms to keep my family intact after I learned he was cheating.