Deuteronomy 21:15-16

Geneva(i) 15 If a man haue two wiues, one loued and another hated, and they haue borne him children, both the loued and also the hated: if the first borne be the sonne of the hated, 16 Then when the time commeth, that hee appointeth his sonnes to be heires of that which he hath, he may not make the sonne of the beloued first borne before the sonne of the hated, which is the first borne: