The comment makes the point well:
Quite simply the editor should have refused to accept this review, and should not have passed it on, commissioning another reviewer if necessary to make up the numbers.
Instead the editor did pass on the review. Does that make them a sexist too? I suspect not. Far more likely, he or she just passed it on without reading it. Which is wrong. Unfortunately, this seems to be all too common.
Editors are not supposed to be a mere relay service, shuttling messages between the authors and the reviewers, but in my personal experience, many are. Nor should they just tally up the positive vs. the negative reviews and go with the majority opinion.
Editorship is a scientific activity, not just a bureaucratic one. Editors should not ‘outsource’ the scientific issues to the peer reviewers, but rather, engage with them themselves.