I would bet that ~100% of the women with small children who stay at home sometimes get inappropriate suggestions that they are choosing to waste their potential.
I would bet that ~100% of the women with small children who work full time sometimes get inappropriate suggestions that they are choosing to be an inferior mother.
Both sting. And there is no polite response.
FWIW, the biological mother as the default primary care giver for very small children seems to be a cultural universal. (That is not to suggest that the default should be assumed to be automatically superior.)