The bible:
"Romans 9:14-15 - 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."
And he has apparently had compassion on the whole world, John 3:16.