Joshua 2:7 describes a deliberate act of misdirection. The men chasing Joshua’s two spies went out along the road toward the Jordan River fords, and the moment they left, the city gate was shut behind them. The narrator is recording a moment of successful deception, and the story turns on it.
The verse is narrated by the author of the book of Joshua, writing about events in Jericho. The searchers are the king of Jericho’s men, sent out after the two Israelite spies who had come into the city and were hidden in Rahab’s house.
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 movements. First, the pursuers went out after the spies on the road that led toward the Jordan, the place where the Israelites were camped on the other side. Rahab had told the king’s messengers that the men had left at dusk and might be overtaken if they hurried. The men believed her and set off in that direction.
Second, the moment the last pursuer had cleared the entrance, the gate was closed. That detail matters. A shut gate at night was a normal safety measure, but here it also locked the king’s men out of the city while the spies were still inside the walls. The verse shows the plan working exactly as Rahab intended.
The verse does not tell us that God directly moved the men or closed the gate. It simply reports what happened. Its meaning lies in the human choices that followed Rahab’s bold lie and the trust she placed in the spies’ God, a trust that the rest of the chapter makes clear.
The Context of Joshua 2:7
The book of Joshua tells how Israel, after Moses’ death, crossed the Jordan and entered the land God had promised. Chapter 2 is the first step in that campaign. Joshua sends two spies to scout Jericho, the walled city guarding the entry point, and they lodge with a woman named Rahab, who lives in the city wall. Her house becomes their hiding place.
The verses just before Joshua 2:7 show Rahab lying to protect the men and then hiding them under flax on her roof. The verses after it show her climbing to the roof to speak with the spies, confessing that the people of Jericho are terrified because they have heard how the LORD dried up the Red Sea and defeated the Amorite kings. Verse 7 sits in the middle of this turning point, so the reader sees both the deception and the faith that grows out of it.
Key Phrases in Joshua 2:7
Joshua 2:11
As soon as we had heard it, our hearts melted, and there wasn’t any more spirit in any man, because of you: for the LORD your God, he is God in heaven above, and on earth beneath.
(WEB)
This verse comes just after the passage around verse 7 and gives Rahab’s response to the spies’ safety: she recognizes that the LORD is God in heaven and on earth. It shows the faith that grew out of the hiding and the closed gate, turning a tense rescue into a confession of who God is.
Joshua 6:25
But Rahab the prostitute, her father’s household, and all that she had, Joshua saved alive. She lives in the middle of Israel to this day, because she hid the messengers, whom Joshua sent to spy out Jericho.
(WEB)
This verse, from the fall of Jericho, shows the outcome of Rahab’s courage. It records that she and her family were spared and that she lived among Israel, which connects the hiding of verse 7 to the long-term rescue of her household.
A Short Prayer From Joshua 2:7
Lord, you see the moments when we must act quietly and carefully, when we cannot control every outcome around us. Help us to act with wisdom and courage, trusting that you can work through our choices even when they feel small or hidden. Give us patience to wait on you and faith to believe that you are present in every step. Keep us honest, protect those we love, and let our trust in you grow in the places where we feel most unseen. Amen.
