Deuteronomy 21:15

King James Version Bible (KJV)
If a man have two wives, one beloved, and another hated, and they have born him children, both the beloved and the hated; and if the firstborn son be hers that was hated:

Read Deuteronomy 21:15 in other translations