In Joshua chapter 2, the Israelites are camped east of the Jordan, preparing to enter the Promised Land. Joshua secretly sends two spies to scout out Jericho. Who could have imagined that the one to welcome them and save their lives would be a woman the whole city despised, a prostitute named Rahab? Her name would later appear in Matthew's genealogy of Jesus, becoming one of the most moving testimonies of God's grace.

Two Spies Enter Jericho

Joshua sent out two spies to examine the land and probe the defenses of Jericho. It was an extremely dangerous mission: Jericho was a fortified city, its gates shut tight and heavily guarded. Once inside, the two men chose to lodge in Rahab's house. God's plans so often unfold through the people and places we would least expect, and even the home of a prostitute could become a refuge where God kept His servants safe.

Rahab Hides Them

Word that the spies had entered the city quickly reached the king of Jericho, and he sent men to Rahab to demand them. But Rahab had already led the two spies up to her roof and hidden them among the stalks of flax she had laid out there, telling the king's men that they had already left the city. At the risk of her own life, she lied to the most powerful men in the city just to protect two Israelite strangers. Her actions were, in truth, a choice of faith: she had already decided to stand on the LORD's side.

'The LORD Your God, He Is God in Heaven Above and in Earth Beneath'

That night Rahab went up to the roof and opened her heart to the spies. She told them that the whole city had heard how the LORD was giving this land to Israel, and that every heart had melted and everyone was seized with fear. What she spoke was not merely dread; it was a genuine confession of faith.

I know that the LORD hath given you the land, and that your terror is fallen upon us... for the LORD your God, he is God in heaven above, and in earth beneath.Joshua 2:9,11 (KJV)

A Gentile woman who had never entered the tabernacle and had no grounding in the Law nevertheless recognized the true and living God. Her faith surpassed that of many who had seen miracles with their own eyes in the wilderness yet still hardened their hearts.

The Scarlet Cord in the Window

Rahab begged the spies that when they took the city, they would show kindness to her father's house and spare the lives of her whole family. The spies promised her, on just one condition: that she tie this scarlet cord in her window and gather all her family together inside the house.

When we come into the land, thou shalt bind this line of scarlet thread in the window which thou didst let us down by... And whosoever shall go out of the doors of thy house into the street, his blood shall be upon his head.Joshua 2:18-19 (KJV)

This scarlet cord has reminded believers throughout the ages of the blood on the doorposts at Passover, and it foreshadows the precious blood the Lord Jesus shed for us. All who take shelter beneath that sign will surely be saved.

Faith Is Not Talk, but Obedience

As soon as Rahab heard, she did just as she was told and tied the scarlet cord in her window at once. She did not wait until the day the city fell to act; rather, she hung out that sign in faith before she was ever saved. Genuine faith always carries obedience with it: it believes that God's word will surely come to pass, and so it gladly acts accordingly. It is precisely Rahab, welcoming the spies and sending them out another way, whom the book of James holds up as proof that faith and works go hand in hand.

Redeemed, and Grafted into the Family Line of God

Later Jericho was overthrown, and only Rahab and her household survived, because of that scarlet cord, and from then on she dwelt among Israel. This woman once branded with shame not only kept her life but was fully received.

And Joshua saved Rahab the harlot alive, and her father's household, and all that she had... because she hid the messengers, which Joshua sent to spy out Jericho.Joshua 6:25 (KJV)

She would go on to marry Salmon and give birth to Boaz, becoming an ancestor of King David and entering the family line of the Lord Jesus Christ. God's grace can turn a person's past around, grafting Gentiles and sinners alike into His eternal plan of salvation.

This Sign Is for You Too

Rahab's story tells us that whether we are saved depends not on our origins or our past, but on whether we are willing to hang the scarlet cord of faith in our window. Today that sign of salvation is the precious blood of the Lord Jesus, and all who take refuge in Him will never be put to shame. May you, like Rahab, come to know that 'the LORD, He is God', and bring yourself and your whole family under His grace.

To dig deeper into the book of Joshua and the story of Rahab, open the BiblePro app: read the text closely with chapter-by-chapter parallel view, and use AI search to explore related themes and explanations. And may you find your way into a nearby church that is sound in the faith, to experience this true and living God together with brothers and sisters.

Series · Bible StoriesPart 18 of 45
In this series
  1. 1In the Beginning, God Created — The Story of Creation in Genesis
  2. 2The Fall of Man: Temptation in Eden and the First Promise of Salvation
  3. 3Cain and Abel: The World's First Tragedy Born of Envy
  4. 4Noah's Ark and the Great Flood: Grace in Judgment and the Covenant of the Rainbow
  5. 5The Tower of Babel: Human Pride and the Will of God
  6. 6The Altar of Isaac: The LORD Will Provide a Lamb
  7. 7Jacob's Ladder: The Grace That Met a Fugitive (Genesis 28)
  8. 8Joseph in Egypt: You Meant Evil, but God Turned It to Great Good
  9. 9Flame in the Bush: Moses and the Call That Would Not Burn Out (Exodus 3)
  10. 10The Ten Plagues of Egypt: The LORD Reveals to Pharaoh That He Is the True God
  11. 11The Passover Lamb: When I See the Blood, I Will Pass Over You
  12. 12Crossing the Red Sea: Stand Still and See the Salvation of the Lord
  13. 13Thunder and Fire on Sinai: The Ten Commandments and God's Covenant of Love
  14. 14The Golden Calf: The Idol Below the Mountain and Moses' Plea
  15. 15The Twelve Spies' Choice: Faith or Fear (Numbers 13-14)
  16. 16The Bronze Serpent Lifted High: A Picture of Salvation, One Look and You Live
  17. 17Balaam's Donkey: When God Turned a Curse into a Blessing
  18. 18Rahab and the Two Spies: The Scarlet Cord in the Window
  19. 19The Walls of Jericho Fall: When Obedience Is Mightier Than the Sword
  20. 20Hannah's Prayer: Giving Back to God What We Treasure Most
  21. 21Samuel Anoints David: The Lord Looks at the Heart
  22. 22David and Goliath: The Battle Is the LORD's
  23. 23David and Jonathan: A Covenant Love That Laid Down Its Own Rights
  24. 24David Spares Saul Twice: Leaving Vengeance in God's Hands
  25. 25You Are the Man: Nathan Confronts David
  26. 26Glory Fills the Temple: The House Solomon Built for the LORD
  27. 27Fire on Mount Carmel: Elijah Confronts the Prophets of Baal
  28. 28Elijah and the Widow of Zarephath: Faith in the Last Handful of Meal
  29. 29Naaman's Leprosy: The Humility He Learned in the Jordan
  30. 30Jonah and the Great Fish: The Turnaround of a Runaway Prophet
  31. 31The Fourth Man in the Fiery Furnace: Three Young Men Who Would Not Bow
  32. 32Daniel in the Lions' Den: Praying Three Times a Day and God's Deliverance
  33. 33The Writing on the Wall: A Kingdom Weighed in a Single Night (Daniel 5)
  34. 34Esther: Who Knows Whether You Have Come to the Kingdom for Such a Time as This?
  35. 35The Wise Men Follow the Star: Worship with Gold, Frankincense, and Myrrh
  36. 36The Transfiguration: A Glimpse of Glory Before the Cross
  37. 37Living Water at the Well: Jesus and the Samaritan Woman
  38. 38Zacchaeus Climbs the Sycamore: An Outcast Found by the Lord
  39. 39Pentecost: The Day the Church Was Born
  40. 40Stephen the First Martyr: The First to Die for the Lord
  41. 41Philip and the Ethiopian Eunuch: A Gospel Appointment on a Desert Road
  42. 42The Light on the Damascus Road: How Saul Became the Apostle Paul
  43. 43Peter and Cornelius: The Door of the Gospel Opens to the Gentiles
  44. 44Songs at Midnight, an Earthquake at Dawn: Salvation in Paul and Silas's Prison Cell
  45. 45Paul's Storm at Sea: The Miracle on the Island of Malta

Carry deeper Bible study in your pocket

BiblePro brings AI-powered search, parallel translations, original-language tools and reading plans together — free to download, so you can study deeply anytime, anywhere.