Deuteronomy 21:15

NHEB(i) 15 If a man has two wives, the one loved, and the other unloved, and they have borne him children, both the loved and the unloved; and if the firstborn son is hers who was unloved;