Then it shall be, when he maketh his sons to inherit that which he hath, that he may not prefer the son of the beloved first-born, before the son of the hated, which is indeed the first-born:
Deuteronomy 21
Deuteronomy 21:10-18