Deuteronomy 21:16

KJ2000(i) 16 Then it shall be, when he makes his sons to inherit that which he has, that he may not make the son of the beloved firstborn before the son of the hated, who is indeed the firstborn: