Romans 9:11-18 ESV
though they were not yet born and had done nothing either good or bad—in order that God’s purpose of election might continue, not because of works but because of him who calls— she was told, “The older will serve the younger.” As it is written, “Jacob I loved, but Esau I hated.”
What shall we say then? Is there injustice on God’s part? By no means! For he says to Moses, “I will have mercy on whom I have mercy, and I will have compassion on whom I have compassion.” So then it depends not on human will or exertion, but on God, who has mercy. For the Scripture says to Pharaoh, “For this very purpose I have raised you up, that I might show my power in you, and that my name might be proclaimed in all the earth.” So then he has mercy on whomever he wills, and he hardens whomever he wills.
ESV: English Standard Version 2016