That's a central part of philosophy of ethics. What do I owe to strangers? What do I owe to my family? What is it to live a good life? Those are questions which we face as individuals.
If you have men who will exclude any of God's creatures from the shelter of compassion and pity you will have men who will deal likewise with their fellow men.