Deuteronomy 21:16-17

Webster(i) 16 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: 17 But he shall acknowledge the son of the hated for the first-born, by giving him a double portion of all that he hath: for he is the beginning of his strength; the right of the first-born is his.