Deuteronomy 21:15

New American Standard Bible (NASB)
“If a man has two wives, the one loved and the other [k]unloved, and both the loved and the [l]unloved have borne him sons, if the firstborn son belongs to the [m]unloved,

Read Deuteronomy 21:15 in other translations