Joshua 2:6 tells us that Rahab, a woman living in the walled city of Jericho, hid two Israelite spies by taking them up onto her flat roof and covering them with stalks of flax that were drying there. The verse is a narrator’s report of a brave, quick act that protected men who had come to scout the city before Israel crossed into the land. It describes what Rahab did, not a command for readers to copy.
But she had brought them up to the roof, and hidden them under the stalks of flax which she had laid in order on the roof.
Joshua 2:6 (WEB)
What Joshua 2:6 Means
The verse begins with “But she had brought them up to the roof,” which signals that Rahab acted against what the king’s messengers expected. Her first move was to take the men out of sight, moving them above the street and the house into a place few would search. The word “But” marks a turn: the king’s men were pursuing the spies, and Rahab chose to protect them instead.
The second part explains how she hid them: “under the stalks of flax which she had laid in order on the roof.” Flax was grown in that region and its stalks were spread out on rooftops to dry in the sun, so the sight of them was ordinary. Her hiding place worked because it looked like everyday household work, and she had arranged the stalks neatly so that nothing seemed out of place.
The verse does not promise that every act of courage will succeed or that God will always reward a risky choice with safety. It records one event and shows a woman who used what was at hand to shield people in danger. The reader learns what she did and why it mattered in that moment, and nothing more is claimed.
The Context of Joshua 2:6
Joshua 2 belongs to the book of Joshua, which is traditionally attributed to Joshua himself, though the book’s final form likely came together later. It tells how Israel, under Joshua’s leadership, moved toward the promised land after the wilderness years. The first audience was ancient Israel, who would read the story as part of their own history of how God brought them into Canaan. Verses 3 through 5 show the king of Jericho demanding that Rahab hand over the men, and she responds by telling him they had already left the city.
Verses 7 through 9 then pick up the story in a striking way. The pursuers leave to chase the men toward the Jordan fords, and the gate is shut behind them. Rahab climbs back to the roof and says, “I know that the LORD has given you the land,” which shows that her actions were rooted in a growing belief about the God of Israel. Read this way, verse 6 is the hinge: it is where her protection of the spies becomes the beginning of a conversation about faith and promise.
Key Phrases in Joshua 2:6
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 as an example of faith and notes that she welcomed the spies in peace. It helps readers see that the New Testament writers remembered her actions as an act of trust in God, not simply as a clever escape. Reading it alongside Joshua 2:6 shows how her protection of the men is connected to her wider faith.
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 as an example of a faith that shows itself in action, since she received the messengers and sent them out by a different way. This connects with Joshua 2:6 by showing that her hiding of the spies was part of a living faith that moved her to act. The verse encourages readers to see belief and deed as working together.
A Short Prayer From Joshua 2:6
Lord, you see the people who are hiding in fear and the people who are moving through danger to protect them. Give me the wisdom to notice where I can offer shelter, and the courage to act quickly when someone needs protection. Help me use what is already in my hands and in my home for the good of others. Let my choices reflect your care for those who are vulnerable. Amen.