There is a meme going around that shows a Bible page with a highlight of Deuteronomy 28:43-44, which reads:
“43 The stranger who is among you will rise above you higher and higher, and you will go down lower and lower. 44 He will lend to you, but you will not lend to him; he will be the head, and you will be the tail.”
The point of the meme is that we should not take care of the stranger among us. The point of the text is exactly the opposite. The text comes from a list of consequences of not keeping God’s covenant. That covenant includes communal collections for feeding those who enter our borders (Deut. 14:28-29), providing rest for those who cross our borders (Deut. 5:14), providing the same legal protections for aliens and citizens (Exodus 12:49, Numbers 15:16) and warns us that if we do not defend the rights of aliens, that God will fight for their rights Himself (Deut. 10:18). God summarizes His perspective thus, “So show your love for the alien, for you were aliens in the land of Egypt.” (Deut. 10:19)
This is where Deut. 28:43-44 comes in. It recounts the judgment of the LORD upon those who repeatedly fail to care for outsiders who come into their land. Love those who come to our doors and our shores. They will be a blessing to you, and in blessing them, the LORD will bless you. If we refuse care to those who knock at our gates, we will face Him in consequence. That is the Torah truth. Don’t believe memes that tell you otherwise.