Deuteronomy 21:15
If a man has two wives, one he loves and one he doesn't, and both have sons by him, but the firstborn son is from the wife he doesn't love,If a man has two wives, one he loves and one he doesn't, and both have sons by him, but the firstborn son is from the wife he doesn't love,