These verses are important, and they tell us about the character of God: that He has compassion for the outcast, for the displaced, and the lonely. But any attempt to use these passages as evidence that the Bible demands allowing both illegal and legal immigration is faulty.

