Did you also refuse to meet with men privately?
Edit: No, I don't socialize with the people at work. I have friends for that.
I think your advice is completely sensible for people who are a little more risk averse. Sad that such measures are necessary, but we all decide our acceptable level of risk.
(Advising people not to meet with anyone without a witness is not good management advice, for obvious reasons, but at least it's not unlawful).
Except you read it that way because you're biased to see bad faith and sexism everywhere. And look what happened: you uncharitably condemned and berated a fellow human being for literally no reason. And you're not even remotely apologetic for it. This pattern is sadly not at all exclusive to you, or uncommon.
As others have pointed out that this thread has gotten off-topic, I'll not be replying further. I'll merely suggest you learn from this mistake.
It's a little weird that you think you have all the information you need to pass judgment on my career from a few short comments on an internet forum. It's even weirder that you haven't made any substantive comment or query on how that policy played out in real life, but rather resorted instantly to shrill pronouncements on my character.
If you can't look back over your career and see where some things you did might have been harmful to some of your employees, you either lack self-awareness or you never had any employees. I'm guessing it's the latter. You have way too many internet points for someone with real responsibility for other people's well-being at work.
Finally, I no longer manage people, so I have stopped doing it. I hope you can sleep now.