Deuteronomy 21:17 New International Reader's Version (NIRV)

He must recognize the full rights of the oldest son, even though that son is the son of the wife he doesn't love. He must give that son a double share of everything he has. That son is the first sign of his father's strength. So the rights of the oldest son belong to him.

Deuteronomy 21

Deuteronomy 21:11-18