Since it is because he acts kindly toward those whom he chooses, it is not because they have done good things that he has chosen them. If God chose people because they did good deeds, then it would not be because he was acting toward them in a way that they did not deserve.