Deuter­­onomy 21:17 Modern English Version (MEV)

On the contrary, he must acknowledge the son of the unloved for the firstborn, by giving him a double portion of all that he has, for he is the beginning of his strength. The right of the firstborn is his.

Deuter­­onomy 21

Deuter­­onomy 21:7-23