Soldarnal asked a question about what charge Paul is defending God against in Romans 9:14. Assuming the charge is that God is unjust because chooses to love some and hate others on the basis of His whim, how does saying that He will have compassion on some and not on others a defense of God's justice?
For reference, the passage is:
[When] Rebekah had conceived children by one man, our forefather Isaac, 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.—Romans 9:10b-18 (ESV)