Joshua 2:21 records Rahab’s answer to the two Israelite spies: she agrees to their terms, sends them away, and then ties a scarlet cord in her window as a visible sign of the promise. The verse shows a woman who has decided to trust the God of Israel and to act on that trust in a risky, concrete way. Rahab speaks these words to the two men Joshua sent to scout Jericho, after she has hidden them on her roof.
She said, “Let it be as you have said.” She sent them away, and they departed. Then she tied the scarlet line in the window.
Joshua 2:21 (WEB)
What Joshua 2:21 Means
The opening words, “Let it be as you have said,” are a plain acceptance. Rahab has heard the spies’ request that she and her household be spared when Israel takes the city, and she agrees to the arrangement in full. She is not negotiating a better deal. She is taking them at their word and binding herself to what they have promised.
The action that follows matters as much as the words. She sends them out, and then she ties the scarlet cord in the window. The cord is the sign the spies asked her to display, so that when the army arrives its soldiers will recognize her house and leave it unharmed. Her faith is shown by what she does next, not only by what she says.
The verse does not promise that every believer will be rescued from danger, nor does it tell us how the spies’ oath will be kept in detail. It records one woman’s decision in one moment. It describes faith that puts a visible mark in the window and waits, rather than a vague hope that things will turn out well.
The Context of Joshua 2:21
Joshua 2 belongs to the book of Joshua, which narrates Israel’s entry into Canaan after the wilderness years. The book is traditionally attributed to Joshua himself, though the final form likely took shape later, and its first readers were Israelites who needed to see how God had brought them into the promised land. The chapter opens with two spies sent to Jericho and their meeting with Rahab, a woman of the city who shelters them.
Verses 18 through 24 show the arrangement in detail. Rahab asks that her family be gathered into her house, the spies set out the terms of protection, and then they leave through the wall with her help. Verse 21 is the hinge of that exchange, the moment the bargain is sealed. Reading it with verses 22 to 24 in view makes clear that the spies’ report to Joshua, that the Lord has given the land and that its people are melting in fear, is the reason the story moves forward toward Jericho.
Key Phrases in Joshua 2:21
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 examples of faith in the letter to the Hebrews, the only place in the New Testament where she is commended. It helps readers see that her hiding of the spies, and her tying of the cord, were regarded as acts of faith rather than mere self-protection, which deepens how we understand the moment recorded in Joshua 2:21.
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, placing her beside Abraham. Read alongside Joshua 2:21, the verse reinforces the idea that her agreement and the scarlet cord were the outward evidence of a trust already at work in her heart.
A Short Prayer From Joshua 2:21
Lord, you have shown that faith can take shape in small, visible steps, even when the outcome is not yet clear to me. Help me to trust your promises as Rahab trusted the spies’ word, and to act on what you have shown me without waiting for every answer first. Show me the simple step I can take today that says I believe you, and give me the courage to take it. Keep my household and the people I love in your care while I wait. Amen.
