Part of Mr. Wormwood’s dislike for Matilda, this passage shows, is rooted in sexism. Matilda is, to him, inferior to Michael because she’s female—and this makes her less intelligent and less worthy in her father’s eyes. This is, of course, a ridiculous stance; in addition to sexism being silly and baseless anyway, Matilda is clearly far more intelligent than her brother.