Deuteronomy 21

Deuteronomy 21:15

"And if a man have two wives, the one loved and the other hated, and both the loved and the hated should have born him [children], and the son of the hated should be firstborn;"