Romans 9:6-18 New American Standard Bible (NASB)
6 But it is not as though the word of God has failed. For they are not all Israel who are descended from Israel; 7 nor are they all children because they are Abraham’s [a]descendants, but: “[b]through Isaac your [c]descendants will be named.” 8 That is, it is not the children of the flesh who are children of God, but the children of the promise are regarded as [d]descendants. 9 For this is the word of promise: “At this time I will come, and Sarah shall have a son.” 10 And not only this, but there was Rebekah also, when she had conceived twins by one man, our father Isaac; 11 for though the twins were not yet born and had not done anything good or bad, so that God’s purpose according to His choice would [e]stand, not [f]because of works but [g]because of Him who calls, 12 it was said to her, “The older will serve the younger.” 13 Just as it is written, “Jacob I loved, but Esau I hated.”
14 What shall we say then? There is no injustice with God, is there? May it never be! 15 For He says to Moses, “I will have mercy on whom I have mercy, and I will have compassion on whom I have compassion.” 16 So then it does not depend on the man who wills or the man who runs, but on God who has mercy. 17 For the Scripture says to Pharaoh, “For this very purpose I raised you up, to demonstrate My power in you, and that My name might be proclaimed [h]throughout the whole earth.” 18 So then He has mercy on whom He desires, and He hardens whom He desires.