Short answer: Deuteronomy 10:17–19 does command God's people to love the foreigner, and it grounds that command in two things. First, God himself is the supreme ruler who shows no partiality and takes no bribe, and he executes justice for the fatherless, the widow, and the foreigner, giving food and clothing. Second, Israel was once a foreigner in Egypt, so memory of their own story becomes the motive for love. The passage sets a direction for God's people without prescribing any nation's immigration policy.
The setting of Deuteronomy 10:17-19: a covenant sermon before the land
Deuteronomy 10:17–19 belongs to Moses' farewell address on the plains of Moab, delivered as Israel stands east of the Jordan and prepares to enter Canaan. The book is shaped as a covenant sermon: Moses recounts what God has done, sets the terms of loyalty before the people, and calls for a response before his own death and their new life in the land. Verses 15 and 16 open the unit with God's electing affection for Israel's ancestors and a command to circumcise the heart and stop being stiff-necked. The duty to love the foreigner in verse 19 grows out of that inward call, not alongside it.
The literary shape moves in a deliberate sequence. Verse 15 grounds everything in God's prior choice; verse 16 turns that into a command about the heart; verse 17 confesses who this God is, above every god and lord, impartial and unbribable; verse 18 tells what this great God actually does, executing justice for the fatherless and widow and giving the foreigner food and clothing; verse 19 draws the conclusion for Israel's conduct. Verses 20 and 21 continue the call to fear, serve and cling to Yahweh. The commands are not free-floating ethics but the conduct of a people who belong to this particular God.
The historical anchor is explicit: Israel was once foreign in Egypt. The memory is not decorative sentiment but the reason given for the command, and it keeps the instruction tied to covenant identity rather than to any modern policy debate. This text commands love for the foreigner; it does not prescribe immigration law for any nation, and it should not be used to claim that one political position is the Christian one or to assign guilt to any group. It honors the whole people of God while naming a clear duty, and it leaves lawful authority and prudential judgment where Scripture leaves them.
What the titles and the command say about the foreigner
Verse 17 stacks names on top of each other: God of gods, Lord of lords, great, mighty, awesome. The pile-up is the point. No rival authority stands beside Yahweh, and no human rank impresses him. The text says he does not respect persons and takes no bribe, which in plain terms means the wealthy, the connected and the impressive get no inside track with him. A refugee or an immigrant who arrives with nothing has the same standing before this God as a landowner or an official. Whatever else follows, the command to love the foreigner rests on who God is, not on what any government decides.
In verse 18 the word for foreigner means a resident outsider, someone living among a people not his own, without the family land and standing that made a person secure in that world. God does not merely feel kindly toward such a person. He executes justice for the fatherless and the widow, and he loves the foreigner by giving him food and clothing. Food and clothing are the plainest possible needs, and the text names them concretely. This is a description of God's own conduct, given before any command is laid on Israel. The pattern matters: God's care for the outsider is the ground the command stands on.
Verse 19 then turns description into command with a reason attached: love the foreigner, for you were foreigners in the land of Egypt. Israel is told to remember its own history, not to admire its own generosity. Notice what the verse does not do. It commands a posture of love toward the outsider and leaves the reader to work that out honestly under lawful authority. What stays central is this: the God who shows no favoritism calls his people to reflect his own concrete care.
What God's greatness means for the stranger
These verses stand where Israel's story nearly ended. The chapters before recount the golden calf, the broken tablets and Moses' intercession, and chapter 10 opens with God telling him to cut two new tablets like the first (10:1–2). The command to love the foreigner is therefore given to a people who have just been forgiven for idolatry. That setting matters. A nation spared a judgment it deserved is in no position to treat the outsider as beneath notice, and mercy received is what makes the demand reasonable.
The titles in verse 17 are not decoration. God of gods and Lord of lords, the great, mighty and awesome God, who shows no partiality and takes no bribe. A judge who takes no bribe cannot be persuaded to rule for the wealthy or the well connected, and a God who cannot be bought cannot be enlisted for one nation's advantage. Any claim that a country enjoys divine favor because of its power runs aground here, because this God is not impressed by rank and is not purchased by any people's devotion.
Verses 20 and 21 then name what Israel is to do with that knowledge. Fear Yahweh your God, serve him, cling to him, and swear by his name, because he is your praise and he has done great things for you. The command to love the foreigner sits inside that loyalty rather than beside it. A people whose praise is God himself has no need to make the nation its glory. That is the quiet politics of the passage: the community's identity is held by worship, and its treatment of the outsider flows from the God it worships rather than from the flag it flies.
Where readers disagree, and what the text does not say
Evangelical readers who take this passage seriously still part company over how far it reaches. One reading treats 10:19 as a standing obligation on Christians: because God loves the foreigner and Israel was told to love the foreigner, believers today should treat immigrants with the same concrete care. Another reading stresses that these words were given to a covenant nation with actual borders, courts and a land to administer. The church is not that nation, and it has no immigration law to enforce. Both readings can affirm that God's people must reflect his impartial justice. The disagreement is about the route from the command to the modern question, not about whether love is required.
The text itself sets a limit that both sides should honor: it does not prescribe any country's immigration policy. Verse 19 commands a posture of love; it does not specify visas, quotas, borders or enforcement. Nor does it say that love for the foreigner requires one particular legal arrangement, so no political platform can claim this verse as its own. What the passage does say is concrete: God executes justice for the fatherless and widow and gives the foreigner food and clothing, and Israel is told to imitate that care. The command is clear about the heart and the hands; it is silent about legislation.
The passage also declines to promise outcomes. It does not say that obedience to this command will produce safety, prosperity or social harmony, and it does not assign guilt to any group for the failures of another. What stays central is that God's people reflect his own impartial justice, shown in food and clothing for the stranger, and that they remember being strangers themselves. That memory humbles rather than weaponizes. Christians can honor lawful authority, debate policy honestly, and still be unmistakably marked by concrete mercy toward the immigrant standing in front of them.
The God who loves the stranger points us to Christ
Deuteronomy 10:17–19 does not predict a Messiah, but it draws a portrait of God that the New Testament fills in. The God who executes justice for the fatherless and widow and who gives the foreigner food and clothing is the God who later comes near in Jesus. When Jesus said the Son of Man had nowhere to lay his head, he placed himself among the unsettled and unwelcome. He ate with outsiders, touched the untouchable, and let a Samaritan be the hero of a story about mercy. The character Moses describes is not left in the Old Testament; it walks through Galilee in sandals.
The gospel also deepens the memory that grounds verse 19. Israel was told to love the foreigner because they had been foreigners in Egypt. The church is told something similar: remember that you were once far off and have been brought near. The memory is not merely national history now; it is personal rescue. Every believer was the stranger at the door, and Christ opened it. That does not erase the command to love the foreigner. It gives the command a deeper root. We love the outsider because we know, by grace, what it is to be the outsider welcomed home.
So this passage leads us to Christ without straining the text. It shows us a God whose greatness is expressed in attention to the vulnerable, and it calls us to imitate that attention. It does not tell any nation what its immigration law should be, and it should not be used to assign guilt to one party or people. But it does tell the church what kind of people to be: those who remember their own rescue, who honor lawful authority, and who love the stranger because God first loved them.
What faithful response looks like in ordinary life
Start with memory, because the command here rests on it. Israel is told to love the foreigner for a reason they could not escape: they had been foreigners in Egypt. Before you decide how you feel about the stranger down the street, name honestly the places where you have been dependent, displaced, or carried by mercy you did not earn. Most of us have a version of that story, and the text treats it as the ground for obedience rather than a reason for shame. Remembering what you were given softens a heart that has grown stiff-necked.
Then move from feeling to something you can hand over. Verse 18 does not describe God's care for the foreigner as a warm sentiment; it names food and clothing. That is specific, physical, and unglamorous. So look for needs you can actually meet: a meal, a coat, a ride, help with paperwork, a place at your table. Sentiment costs nothing and changes nothing. The God described here gives concrete things, and verse 19 draws the line straight from his practice to ours. Ask what tangible need is within your reach this week, and then meet it.
Finally, examine your heart for favoritism. The same passage calls God the one who shows no partiality and takes no bribes, which means status and usefulness cannot be the measure of who receives your kindness. Notice who you naturally overlook: the person with little to offer, the one whose English is thin, the family that cannot reciprocate. Love them anyway. And honor lawful authority while you do it, since the command to love the foreigner does not hand you any government's policy to enforce. You love because God first loved you, not to earn anything from him.
Biblical fidelity check
Read closely, Deuteronomy 10:17–19 is easy to flatten in two directions. One risk is treating the piled-up titles, God of gods and Lord of lords, as generic praise and skipping what they are for: this God shows no favoritism and takes no bribe, so the powerful cannot buy his verdict. The other risk is softening the foreigner into a vague guest. The word names a resident outsider living among a people not his own, and God's love for such a person is concrete, food and clothing. Verse 19 then commands what verse 18 describes.
The real disagreement is how directly Israel's covenant obligations carry over to the church and to modern states. Some read verse 19 as a mandate for how Christians personally treat immigrants; others stress that Israel was a covenant nation under law, while the church is not a nation administering borders. What stays central is that God's people reflect his impartial justice and concrete care, and remember being strangers themselves.
Other passages that speak to Deuteronomy 10:17-19
The command to love the foreigner rests on God's own character before it rests on any policy debate. These studies take it further: Loving the foreigner without fear, Leviticus 19 and love for the foreigner, How God sees the sojourner, and Was Jesus a refugee?.
Frequently asked questions
Does the Bible command Christians to care for refugees and immigrants?
Yes, the Bible repeatedly commands God's people to love the foreigner, and Deuteronomy 10:19 states it plainly: "Therefore love the foreigner, for you were foreigners in the land of Egypt." The command is not an optional extra for the especially compassionate; it is addressed to the whole covenant community. The New Testament carries this same posture forward, and Jesus himself identifies with the stranger. What the command does not do is dictate any particular country's immigration law, so it should not be used to claim that one political program is the Christian one.
Why does Deuteronomy 10:19 say to love the foreigner?
Deuteronomy 10:19 gives memory as the reason: Israel was once a foreigner in Egypt. Before the command comes the description of God in 10:17–18, who shows no partiality and loves the foreigner by giving food and clothing. So the command rests on both God's character and Israel's own story of having been a stranger. Remembering their rescue from Egypt was meant to shape how they treated the vulnerable among them. Love for the immigrant, then, flows from gratitude and memory rather than from calculations about advantage.
How should Christians balance love for immigrants with obeying the law?
Deuteronomy 10:17–19 commands a posture of love and impartiality without prescribing any nation's immigration policy, so the passage does not settle disputed legal questions. Christians are called to honor lawful authority and to obey the law, and they are also commanded to love the foreigner as they remember their own story of being strangers. Those two callings can be held together, and faithful Christians may differ on how. The passage keeps the center clear: God's people are to reflect his impartial justice and compassion toward the vulnerable, including the foreigner.