I walked into my ex-husband’s divorce hearing carrying a secret—then one confession changed everything.