If a man has two wives, and he loves one but not the other, and both bear him sons but the firstborn is the son of the wife he does not love,
References for Deuteronomy 21:15
when he wills his property to his sons, he must not give the rights of the firstborn to the son of the wife he loves in preference to his actual firstborn, the son of the wife he does not love.
References for Deuteronomy 21:16
He must acknowledge the son of his unloved wife as the firstborn by giving him a double share of all he has. That son is the first sign of his father’s strength. The right of the firstborn belongs to him.
References for Deuteronomy 21:17
If someone has a stubborn and rebellious son who does not obey his father and mother and will not listen to them when they discipline him,
References for Deuteronomy 21:18
his father and mother shall take hold of him and bring him to the elders at the gate of his town.
They shall say to the elders, “This son of ours is stubborn and rebellious. He will not obey us. He is a glutton and a drunkard.”
Then all the men of his town are to stone him to death. You must purge the evil from among you. All Israel will hear of it and be afraid.
References for Deuteronomy 21:21
If someone guilty of a capital offense is put to death and their body is exposed on a pole,
References for Deuteronomy 21:22
you must not leave the body hanging on the pole overnight. Be sure to bury it that same day, because anyone who is hung on a pole is under God’s curse. You must not desecrate the land the LORD your God is giving you as an inheritance.
References for Deuteronomy 21:23