Deuteronomy 21:16

Brenton(i) 16 then it shall be that whensoever he shall divide by inheritance his goods to his sons, he shall not be able to give the right of the first-born to the son of the loved one, having overlooked the son of the hated, which is the first-born.