Per 《
新华成语词典》, derived from 《
仪礼·
丧服·
子夏传》 —
妇人有三从之义 ('a woman has the duty of three obediences: unmarried, obey her father; married, her husband; widowed, her son') — and 《
周礼·
天官》 on the four virtues for women:
妇德 (morality),
妇言 (proper speech),
妇容 (proper bearing),
妇功 (skill at needlework). Now used almost exclusively in critique.