For his words to Moses are-'I will take pity on whom I take pity, and be merciful to whom I am merciful.'
So, then, all depends, not on human wishes or human efforts, but on God's mercy.