Two passages
He speaks about women as a class twice in the Analects. They are also the two places where the choice of translation most changes what the passage says, and in both the Victorian and Edwardian English is softer than the Chinese.
Nine men
In the first, King Wu is quoted as saying he had ten capable officials. Confucius comments that there was a woman among them, so nine men only. She is not disparaged or discussed. She is subtracted. Legge (1869) keeps that. Lyall (1909) makes it nine men in all, and one woman, which makes ten and loses the subtraction.
Hard to keep
The second is the one usually quoted. The Chinese pairs women with the small man, the opposite of a gentleman, and says both are hard to keep: too close and they forget themselves, too distant and they resent it. Legge makes it girls and servants. Lyall makes it maids and serving-lads. Both turn a class of person into a class of employee. The Chinese does not, and neither do the modern versions.
The rest
Women are otherwise almost absent from the text. He says he has yet to meet a man as fond of virtue as of beauty in women. His wife is never mentioned. His daughter appears once, when he marries her to a man who had been in prison.
That a man born in the sixth century BC held these views is the least surprising thing about him. The book prints both passages in its notes with nothing taken off them.