Deuteronomy 21:15

Inheritance Rights of the Firstborn

15If a man has two wives, athe one loved and the other unloved, and both the loved and the unloved have borne him children, and if the firstborn son belongs to the unloved,
Or hated; also verses 16, 17

Deuteronomy 25:7

7And if the man does not wish to take his brother’s wife, then his brother’s wife shall cgo up to the gate to the elders and say, ‘My husband’s brother refuses to perpetuate his brother’s name in Israel; he will not perform the duty of a husband’s brother to me.’
Copyright information for ESV