Deuteronomy 21:15-16

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
16then on the day when che assigns his possessions as an inheritance to his sons, he may not treat the son of the loved as the firstborn in preference to the son of the unloved, who is the firstborn,

2 Chronicles 11:19

19and she bore him sons, Jeush, Shemariah, and Zaham.
Copyright information for ESV