Deuteronomy 21:16

JPS_ASV_Byz(i) 16 then it shall be, in the day that he causeth his sons to inherit that which he hath, that he may not make the son of the beloved the first-born before the son of the hated, who is the first-born;