Deuteronomy 21:15

Darby(i) 15 If a man have two wives, one beloved, and one hated, and they have borne him children, both the beloved and the hated, and the firstborn son be hers that was hated;