Deuteronomy 21:15-17

Great(i) 15 If a man haue two wyues, one loued and another hated, & they haue borne him chyldren, both the loued and also the hated: 16 If the fyrst borne be the sonne of the hated: then when the tyme commeth that he dealeth hys goodes, amonge hys chyldren, he maye not make the sonne of the beloued fyrstborne, before the sonne of the hated whyche is in deade the fyrstborne: 17 But he shall knowe the sonne of the hated for the fyrstborne, and geue hym dowble porcyon of all that he hath. For he is the fyrst of his strength, and to hym belongeth the ryght of the fyrst borne.