Listening to Dan McClellan, I was surprised how much care for the stranger is a running theme in both the NT and OT. Of particular note is the sin of the city of Sodom for which it was firebombed, which was not about homosexuality, as per modern interpretations, but about mistrust of the stranger, mistreatment of them, and failure to feed them and show them hospitality while holding an abundance of material wealth.
Not only does the US have a problem with internal disfavor of immigrants, but so do most industrialized nations, and as the bible shows us, this has been a problem for a very, very long time. (I hypothesize, today, public animosity towards migrants in the US is exacerbated by the oligarch-owned massive far-right propaganda machine, as a means to distract common Americans from the excesses and abuses of the ownership class, but that's another convo.)
In fact, I think I remember McClellan noting that kind treatment of the foreigner is part of the ancient Babylonian doctrine that inspired the OT.