God loves those people who love humanity and behave as human beings. If he loves only those people who pray to him, and not others he can not be GOD at all.