It is not a political statement:
From Mattew 25 (BibleHub):
34 “Then the King will say to those on his right, ‘Come, you who are blessed by my Father; take your inheritance, the kingdom prepared for you since the creation of the world.
35 For I was hungry and you gave me something to eat, I was thirsty and you gave me something to drink, I was a stranger and you invited me in,
36 I needed clothes and you clothed me, I was sick and you looked after me, I was in prison and you came to visit me.’
37 “Then the righteous will answer him, ‘Lord, when did we see you hungry and feed you, or thirsty and give you something to drink?
38 When did we see you a stranger and invite you in, or needing clothes and clothe you?
39 When did we see you sick or in prison and go to visit you?’
40 “The King will reply, ‘Truly I tell you, whatever you did for one of the least of these brothers and sisters of mine, you did for me.’
Exodus 20 (BibleHub):
21 “Do not mistreat or oppress a foreigner, for you were foreigners in Egypt.
22 “Do not take advantage of the widow or the fatherless.
23 If you do and they cry out to me, I will certainly hear their cry.
24 My anger will be aroused, and I will kill you with the sword; your wives will become widows and your children fatherless.
Leviticus 19: 34:
The foreigner residing among you must be treated as your native-born. Love them as yourself, for you were foreigners in Egypt. I am the LORD your God.
Deuteronomy 10 (BibleHub):
18 He defends the cause of the fatherless and the widow, and loves the foreigner residing among you, giving them food and clothing.
19 And you are to love those who are foreigners, for you yourselves were foreigners in Egypt.
From Ezekiel 47 (BibleHub):
21 “You are to distribute this land among yourselves according to the tribes of Israel.
22 You are to allot it as an inheritance for yourselves and for the foreigners residing among you and who have children. You are to consider them as native-born Israelites; along with you they are to be allotted an inheritance among the tribes of Israel.
23 In whatever tribe a foreigner resides, there you are to give them their inheritance,” declares the Sovereign Lord.