Deuteronomy 21:15

LEB(i) 15 "If a man has two wives, and the one is loved and the other one is disliked and the one loved and the one that is disliked have borne for him sons, if it happens that the firstborn son belongs to the one that is disliked,*