Deuteronomy wants to have its cake and eat it too—be nice to strangers, massacre your enemies, and go home happy. This tension between local law and political rhetoric drives the whole book, but we notice it most when Moses & Co. run into other groups. Some of their travel meet-ups are with allies, but sometimes they're enemies who need wiping out. Bottom line, if you're not an Israelite, you haven't been chosen by God. And that puts you squarely in the outsiders club.