Not at all. You simply have to put aside the modern Western idea of humanitarian universalism, that everyone is part of one Community. Violence has always been generally acceptable directed toward that which is Other. Kin groups, tribal extended kin groups, your village, your nation, all...