Deuteronomy 21:16

MKJV(i) 16 then it shall be in the day when he makes his sons to inherit what he has, he may not cause to inherit the son of the beloved first-born before the son of the hated one, he who is truly the first-born.