It's not a reflection on Jack. I loved him. So much that I campaigned for him pretty hard as I was living in his riding: phonebanking, door knocking, the whole deal. It's not about him, which is rather the point. It was a post about an entirely different person's accomplishments, and your first and only comment was to talk about how great her husband was. That's sexist.
If it helps, consider the absurdity of switching the sexes.
Jack and Olivia are married for some time, each with their own accomplishments. Olivia starts a promising career as leader of the NDP and tragically dies of Cancer. Jack spends the next 15 years doing great things in Toronto, working into a role as the new mayor. He's got fans and supporters and laundry list of accomplishments. He wins another election, and someone chimes in to say: "I miss Olivia. She was great".
The only rational answer to that is:
"What the fuck does Olivia have to do with this? She's been dead for 15 years. This is Jack's accomplishment."
Of course, no one would say something like that because it's absurd. Even if long-dead-Olivia was great, that greatness is irrelevant to Jack's massive achievement. Citing it, intentionally or not, is to somehow ascribe her greatness to him, and that's pretty silly.
And yet people do it to women all the time.