Joshua 2:21 records Rahab’s simple agreement to the spies’ terms. She accepts their promise of protection and sends them away, then marks her window with a scarlet cord so that her household will be recognized when Israel arrives. The verse is short, but it marks the point where a Canaanite woman steps into a covenant with the God of Israel. It was spoken by Rahab of Jericho to the two Israelite spies she had hidden 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 verse begins with Rahab saying, “Let it be as you have said.” She is not merely being polite. She is accepting a specific arrangement: if she keeps the spies’ mission quiet and her family stays inside her house, the men of Israel will spare them when the city falls. Her word closes the deal, and the spies leave her house to return to Joshua’s camp.
The second half of the verse is an action. Rahab ties a scarlet cord in the window, the same cord she had used earlier to let the spies down the city wall. It serves as a visible sign for the invaders to see. The verse does not promise that Rahab will be safe in every circumstance, since the spies set conditions, and it does not explain how the signal will work in the chaos of battle. It records a practical act of trust, made under pressure, that has real consequences for the people in her house.
The Context of Joshua 2:21
The book of Joshua tells the story of Israel’s entry into the land of Canaan after the death of Moses. Tradition ascribes the book to Joshua himself, though it may have been compiled later, and it was written for an Israelite audience learning how God had kept his promise to bring them into the land. The spy episode in chapter 2 opens the campaign, and it shows that God’s purposes were already reaching into Jericho before a single Israelite soldier crossed the Jordan.
The verses just before Joshua 2:21 record the spies’ oath and the conditions they attach to it, including the instruction to tie the scarlet thread in the window and gather her family inside. Verses 22 through 24 then follow the spies safely back to Joshua, who hears their report that the people of the land are fearful. Reading the verse in that setting makes clear that Rahab’s act is part of a larger story about God delivering the land and the people who trust him.
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 in the list of people who acted by faith, and it treats her welcome of the spies as a clear act of trust. Reading it alongside Joshua 2:21 shows that the New Testament writers saw her choice as part of God’s faithful work through ordinary people.
Matthew 1:5
Salmon became the father of Boaz by Rahab. Boaz became the father of Obed by Ruth. Obed became the father of Jesse.
(WEB)
This genealogy includes Rahab among the ancestors of Jesus, which reveals how God’s purposes carried her story forward. Her decision in Jericho became part of the lineage through which God’s promise to bless the nations would come to fulfillment.
A Short Prayer From Joshua 2:21
Lord, thank you for the many ways you reach people who are far from what they expected to find. Give me the courage to say yes when you have asked me to trust your word, and help me to follow through on the actions you ask of me. When I cannot see how things will turn out, remind me of the scarlet cord and the faithfulness behind it. Keep my household safe in your hands, and make me faithful in the small acts that show I belong to you. Amen.
