Deuteronomy 21:15

Leeser(i) 15 If a man have two wives, one beloved, and the other hated, and they bear him children, both the beloved and the hated; so that the first-born son be hers that is hated: