Joshua 2 / James 2:25 — Rahab: The Prostitute in the Bloodline of Jesus
The Verses
"In the same way, was not even Rahab the prostitute considered righteous for what she did when she gave lodging to the spies and sent them off in a different direction?" — James 2:25 (NIV)
"By faith the prostitute Rahab, because she welcomed the spies, was not killed with those who were disobedient." — Hebrews 11:31 (NIV)
The Story — Joshua 2
Joshua sends two spies into Jericho before Israel's invasion. They end up at the house of Rahab, a prostitute. The king of Jericho hears about the spies and sends soldiers to her door. She hides the men on her roof under stalks of flax, lies to the soldiers, and sends them chasing in the wrong direction.
Then she makes her move. She goes up to the roof and tells the spies something remarkable: she has heard what their God did in Egypt and to the Amorite kings, and she declares "the LORD (Hebrew: יְהֹוָה, YHWH, “Jehovah, the Lord”) your God is God in heaven above and on the earth below" (Joshua 2:11). She asks them to spare her family when Jericho falls. They agree. She lowers them out through a window with a rope. They tell her to hang a scarlet cord from that window as a sign.
When Jericho falls (Joshua 6), every living thing in the city is destroyed. Except Rahab and her family. She is brought out, taken in by Israel, and lives among God's people from that day forward.
The Big Question: A Sinner Declared Righteous?
This is what makes Rahab's story so striking. She wasn't just someone with a rough past. She was an active prostitute in a pagan city. In both Hebrew and Greek, the Bible is blunt about this.
The Hebrew: Zonah (זונה)
The word used in Joshua 2:1 is zonah, which means prostitute. There is no ambiguity. It's the same word used for the prostitute in Genesis 38:15 and in Isaiah 1:21. Some scholars (going back to the Jewish historian Josephus) have tried to soften this to "innkeeper," but every major Hebrew lexicon translates zonah as harlot or prostitute.
The Greek: Porne (πόρνη)
When the New Testament writers mention Rahab in Hebrews 11:31 and James 2:25, they use porne — the word that gives us "pornography." When Jewish scholars translated the Old Testament into Greek centuries before Christ (the Septuagint), they chose this same word. Two different New Testament authors, writing to different audiences, both keep the label. They don't clean it up. They don't say "former prostitute." They say Rahab the prostitute, present tense, as if the title is part of the point.
Why the Bible Keeps Calling Her That
The fact that Hebrews and James both preserve her title is deliberate. They're not being crude. They're making a theological statement: God declared a practising prostitute righteous because of her faith (Greek: πίστις, pistis, “persuasion, faith”) and actions. If they had cleaned up her title, the power of the example would be lost. The whole argument in James 2 is that even the most unlikely person — not a patriarch like Abraham, but a Canaanite sex worker — can demonstrate saving faith through deeds.
What Made Her "Righteous"
Rahab wasn't declared righteous because she stopped being a prostitute (though Jewish tradition says she did, eventually). She was declared righteous because of specific actions driven by faith:
- She believed what she heard. The reports about the Red Sea crossing and Israel's victories reached everyone in Jericho. Everyone was terrified (Joshua 2:9-11). But only Rahab acted on it. The rest of the city heard the same reports and chose to stay behind their walls. Belief without action — exactly what James warns about.
- She risked everything. Hiding enemy spies was treason. If discovered, she and her family would have been executed. Her faith cost her something real.
- She chose God's side over her own people. She was a Canaanite. Jericho was her city. She betrayed it because she recognised that Israel's God was the true God. This wasn't a small social adjustment — it was a complete break from her identity, culture, and religion.
- She acted practically. She didn't just say "I believe in your God." She hid the spies, lied to the soldiers, lowered them out the window, and followed the instructions about the scarlet cord. Every step was a concrete action.
The Scarlet Cord
The spies told Rahab to hang a scarlet cord from her window so Israel's army would know which house to spare. Christian theologians have drawn a strong parallel here:
- In Exodus 12, the Israelites painted lamb's blood on their doorframes so the angel of death would pass over their houses.
- Rahab hangs a scarlet cord — a blood-red marker — from her window so destruction would pass over her house.
- Both are outward signs of inward faith. Both are acts of obedience to a specific instruction. Both save the household from judgment.
The colour is not accidental. Early church fathers (Clement of Rome, writing around 96 AD) explicitly connected Rahab's scarlet cord to the blood of Christ: a sign of redemption given to a sinner who believed.
Rahab in the Bloodline of Jesus
Matthew 1:5 records: "Salmon the father of Boaz, whose mother was Rahab."
Rahab married Salmon (from the tribe of Judah), gave birth to Boaz, who married Ruth, whose great-grandson was King David. That line runs straight to Jesus.
Matthew's genealogy only names five women, and every one of them carries some kind of scandal or outsider status:
- Tamar — posed as a prostitute to get justice from Judah (Genesis 38)
- Rahab — a Canaanite prostitute
- Ruth — a Moabite foreigner (Moabites were barred from the assembly of Israel, Deuteronomy 23:3)
- Bathsheba — referred to as "Uriah's wife," a reminder of David's adultery and murder
- Mary — an unmarried pregnant teenager in a culture where that meant potential stoning
Matthew is making a point: the Messiah's own family tree is full of broken people, outsiders, and sinners. God didn't work around the mess. He worked through it.
The Answer to Your Question
Yes — even though prostitution was a sin, Rahab was declared righteous. But not because the good deeds "cancelled out" the sin, like some kind of moral balance sheet. The Bible doesn't teach that good deeds erase bad ones.
What happened is deeper than that:
- She had genuine faith. She recognised the God of Israel as the true God when her entire city rejected Him. That faith was real.
- Her faith produced action. She didn't just believe privately. She acted on it at enormous personal cost. This is exactly James's point — faith without deeds is dead, and Rahab's faith was very much alive.
- God's grace met her where she was. He didn't wait for her to clean up her life first. He accepted her act of faith while she was still a prostitute in a pagan city. Paul says the same thing in Romans 5:8 — "while we were still sinners, Christ died for us."
Rahab's story is not "sin doesn't matter." It's "no amount of sin disqualifies you from grace if your faith is real and you act on it." She went from the lowest rung of Canaanite society to the family tree of the Son of God. That's the whole gospel in one person's life.
Parallel Passages
- Joshua 2:1-24 — Rahab hides the spies (the full story)
- Joshua 6:22-25 — Rahab and her family spared when Jericho falls
- Hebrews 11:31 — Rahab listed in the "Hall of Faith" alongside Abraham, Moses, and David
- James 2:25 — Rahab's deeds as proof of living faith
- Matthew 1:5 — Rahab in the genealogy of Jesus
- Romans 5:8 — "While we were still sinners, Christ died for us"
- Ephesians 2:8-10 — Saved by grace through faith, created for good works
- Luke 7:36-50 — The sinful woman who anointed Jesus's feet (a parallel story of a "sinful woman" accepted through faith)
- 1 Corinthians 6:9-11 — "And that is what some of you were. But you were washed..."
Personal Reflection
What hits hardest about Rahab is that the Bible never lets you forget what she was. It doesn't say "Rahab, the reformed woman" or "Rahab, who used to be a prostitute." It says Rahab the prostitute, right there in the Hall of Faith next to Abraham. The label stays, but it doesn't define her destiny. Her faith and her actions did.
She heard the same news everyone else in Jericho heard. They all knew about the Red Sea. They all knew about the victories. The difference is she did something about it. Everyone else froze behind their walls. She moved.
That connects straight back to James 2. Faith isn't what you know or what you say you believe. It's what you do when it costs you something.