Joshua 2:7 describes the moment the men chasing Joshua’s two spies set out along the road toward the Jordan River’s fords, and the moment the city gate was shut behind them. The verse records a decision that protected the spies and set the stage for Israel’s entry into Canaan. It is narrated by the author of the book of Joshua, not spoken by a character, so the sentence reports what the pursuers did and what the city did after them.
The men pursued them along the way to the fords of the Jordan River. As soon as those who pursued them had gone out, they shut the gate.
Joshua 2:7 (WEB)
What Joshua 2:7 Means
The verse has two halves that happen in sequence. First, the pursuers “went after them along the way to the fords of the Jordan.” Rahab had sent them off in the wrong direction on purpose, telling the king’s men that the spies had left at dusk and might be overtaken if they hurried. The fords were the shallow crossing points on the road east toward the river, so that is where the search party assumed the spies were headed.
Second, “as soon as those who pursued them had gone out, they shut the gate.” The gate was closed to keep the pursuers out and to keep any further travelers from slipping through. The verse does not state a motive for the gatekeepers, but the timing makes the cause clear: the closing followed directly from the search party’s departure. The text describes events in the world, not a promise to the reader. It shows a plan working in practice, with the spies protected by a lie told in a dangerous moment.
The Context of Joshua 2:7
The book of Joshua is part of the historical books of the Old Testament and records Israel’s conquest and settlement of the land promised to their ancestors. Tradition attributes its composition to Joshua himself, though most scholars think it was shaped by later editors. Its first readers were the Israelites, who needed to understand how they had come to possess Canaan and how God had kept faith with them through Moses’s successor.
The verses just before and after set the scene. In verses 4 and 5 Rahab hides the men and misleads the king’s messengers. In verses 8 through 10 she climbs to the roof and tells the spies that the Lord has given them the land, because the people of Jericho have heard of the crossing of the Red Sea and the defeat of the Amorite kings. Verse 7 is the hinge between the lie and the confession, which is why it reads with such tension: the deception is what makes the later acknowledgment of God’s power possible.
Key Phrases in Joshua 2:7
Hebrews 11:31
By faith, Rahab the prostitute, didn’t perish with those who were disobedient, having received the spies in peace.
(WEB)
This verse names Rahab among the people of faith and says she welcomed the spies in peace. It helps readers see that the New Testament honors her for her trust in God, even though her method in Joshua 2:7 was deception. Reading the two together keeps the story from being either dismissed or simplified.
James 2:25
In the same way, wasn’t Rahab the prostitute also justified by works, in that she received the messengers, and sent them out another way?
(WEB)
James points to Rahab’s welcome of the messengers and her sending them out by another way as evidence that faith shows itself in action. Set beside Joshua 2:7, the verse emphasizes that her choices were part of a larger pattern of trust that changed the course of her life and her household.
A Short Prayer From Joshua 2:7
Lord, you see the fear that makes people hide the truth and the courage that sometimes calls for quick, hard choices. Thank you that your purposes did not depend on a perfect plan in Jericho, and that you brought your people across the river into the promise you had made. Help me to act with honesty and care when the stakes are high, and to trust that you can work through my steps, even the imperfect ones. Give me wisdom to protect those in danger without setting aside the truth you have given me. Amen.