The bible exhorts us to demonstrate special sensitivity toward the stranger because we were oppressed and cheated strangers in Egypt. It goes so far as to warn us in no less than 23 (or even 46) places not to behave insensitively toward the stranger. https://www.jpost.com/jewish-world/judaism/parashat-mishpatim-stranger-in-a-strange-land