Bible character

Who Was Rahab? - From Outsider to Ancestor of Jesus

Introduction

It is dark in Jericho. Soldiers are pounding on a door built into the city wall, demanding the surrender of two foreign men. Inside, a woman stands between those men and certain death. She is not a priest, not a prophet, not a respected elder at the gate. She is a prostitute, a woman whose house is known in the city for all the wrong reasons. And in the next sixty seconds she will make the decision that writes her name into the family tree of Jesus Christ.

Everyone in Jericho had heard the same reports about Israel's God. Everyone was terrified. Only one person in that entire city did anything about it. You will discover on this page who Rahab was, what she actually did, how honest the Bible is about her failures, and why her scarlet cord still hangs over the whole story of salvation.

The angle of this guide

Most retellings of Rahab focus on her past: the prostitute who got cleaned up. That misses the sharpest thing in the text. Rahab did not know more than her neighbors. Joshua 2:9 and 2:10 show that the entire city had heard about the Red Sea and the defeat of Sihon and Og. The whole population was melting with fear. The difference between Rahab and Jericho was never information. It was response. This guide reads her life through that lens: faith is not extra knowledge, it is what you do with the news everyone already has. That is why Hebrews calls the rest of the city disobedient rather than ignorant.

What does the Bible say about Rahab?

Rahab appears in only a handful of passages, yet every one of them is loaded. Her first appearance is blunt to the point of discomfort: "Joshua the son of Nun secretly sent two men out of Shittim as spies, saying, 'Go, view the land, including Jericho.' They went and came into the house of a prostitute whose name was Rahab, and slept there" (Joshua 2:1).

Scripture does not soften her job description. The Hebrew word is the ordinary word for a prostitute, and the New Testament uses the equally plain Greek term in both Hebrews 11:31 and James 2:25. Her house was probably a combination of lodging and brothel, built into the casemate wall of the city, which is exactly why two strangers could slip in without attracting comment, and exactly why the king's men came looking there first.

What happens next is the heart of the whole account. Rahab hides the spies under stalks of flax on her roof, sends the king's officers off on a false trail, and then climbs up to speak with the two men she has just rescued. What comes out of her mouth is the most theologically weighty speech in the book of Joshua so far, and it comes from a Canaanite woman with no covenant, no priest, and no Scripture.

"I know that Yahweh has given you the land, and that the fear of you has fallen upon us, and that all the inhabitants of the land melt away before you" (Joshua 2:9). She then recites the news everybody has heard: the sea that dried up, the Amorite kings who fell. And she lands on a confession that no Israelite in the book says this plainly: "As soon as we had heard it, our hearts melted, neither did there remain any more spirit in any man, because of you: for Yahweh your God, he is God in heaven above, and on earth beneath" (Joshua 2:11).

Read that slowly. She does not say Yahweh is a strong god among gods. She says He is God above and below, which leaves no room for Baal, for Jericho's moon worship, or for the city's walls. A woman whose whole livelihood depended on the old order just declared the old order finished.

She asks for mercy for her father, mother, brothers, sisters, and all they have. The spies swear it, on one condition: a scarlet cord in the window and the whole family gathered inside the house. Joshua 2:21 records her obedience with devastating simplicity: "Then she tied the scarlet line in the window." The armies are not even across the Jordan yet. No siege has begun. She hangs the sign of her rescue while the city still looks invincible.

She tied the cord before anything looked like it was collapsing.

Then comes the payoff. After the walls go down and the city burns, the record reads: "But Rahab the prostitute, her father's household, and all that she had, Joshua saved alive. She lives in the middle of Israel to this day, because she hid the messengers whom Joshua sent to spy out Jericho" (Joshua 6:25). The outsider is now living inside. Not at the edge, not tolerated at a distance, but in the middle of Israel.

The thread running through the Bible

Rahab is a knot where several of Scripture's biggest threads are tied together.

Go backward first. A scarlet sign hung in a window so that death passes over a household is not a new idea in Joshua 2. It is Passover. In Exodus 12 the Israelites mark their doorframes with blood so that the destroyer does not enter, and whoever stays inside the house lives. Rahab's family is saved by exactly the same logic: a visible mark, a shelter, and a promise, with the strict instruction that anyone who goes out into the street carries his own blood on his head. The woman who had never kept a Passover is handed the shape of one.

Go backward further and you run into the promise to Abraham in Genesis 12:3, that in him all the families of the earth would be blessed. Rahab is an early installment on that promise. The very first city of Canaan to fall also produces the first Canaanite family to be folded into Israel. Judgment and mercy walk into Jericho together.

Now go forward. Rahab's son Boaz marries Ruth, a Moabite, another outsider woman who throws her lot in with Israel's God. Their great-grandson is David. Luke and Matthew both trace Jesus through that line, and Matthew does something startling by naming her out loud: "Salmon became the father of Boaz by Rahab. Boaz became the father of Obed by Ruth. Obed became the father of Jesse" (Matthew 1:5). Genealogies in the ancient world ran through fathers. Matthew breaks the pattern four times before Mary, and Rahab is one of those four. The Gospel that begins with a Canaanite prostitute in the family tree ends with the risen Christ saying to make disciples of all nations. That is not an accident of record keeping. It is Matthew's thesis stated in miniature on page one.

The New Testament then returns to her twice more, and both times she is an exhibit. Hebrews 11:31 places her in the hall of faith: "By faith, Rahab the prostitute didn't perish with those who were disobedient, having received the spies in peace." James 2:25 places her in the argument about living faith: "In the same way, wasn't Rahab the prostitute also justified by works, when she received the messengers and sent them out another way?"

Notice that both writers keep the word "prostitute" attached to her name. The Spirit of God does not airbrush her resume. The point is not that she was good enough to be included; the point is that grace reached a woman everybody had written off, and that grace proved itself by changing what she did with her front door.

Everything in her story points to Christ. A doomed city, a coming judgment, a sign of scarlet, a household saved by staying with the one who was marked. Jesus is the true shelter, and the invitation goes out while the walls are still standing.

The heart of her life

Three moments decide everything in Rahab's story, and they all happen before the trumpets blow.

The first moment is the news she could not shake. Jericho was a trading city on the road into Canaan, and caravan gossip would have reached Rahab's house faster than anywhere else. She heard about the Red Sea, roughly forty years old by then, and about Sihon and Og, which was recent. So did everyone else. Joshua 2:9 is explicit that the fear had fallen on all the inhabitants. Here is the uncomfortable part of the story: the whole city possessed enough truth to repent. Jericho's problem was not a shortage of evidence. The citizens took the same report and bolted the gates, as Joshua 6:1 says, shut up tightly. Rahab took the same report and opened her door. This is precisely why Hebrews 11:31 calls the rest of them disobedient rather than uninformed. Faith is not a better set of facts. It is a surrender to facts you already have.

The second moment is the oath on the roof. Having hidden the spies, Rahab could have simply let them escape and kept her head down. Instead she negotiates. Joshua 2:12 and 2:13 record her asking them to swear by Yahweh and to deal kindly with her father, her mother, her brothers, her sisters, and all that they have. The Hebrew word she uses for kindness is chesed, the covenant loyalty word, the word used of God's steadfast love. A Canaanite prostitute asks for covenant love in covenant language, and she asks for it on behalf of other people. Her faith is immediately evangelistic. Within one conversation she has become the missionary of her own family. Then she lowers the men down by a cord through the window, "for her house was on the side of the wall, and she lived on the wall" (Joshua 2:15). The very wall that symbolized Jericho's false security becomes the escape route for Israel's spies and the shelter for Rahab's family.

The third moment is the seven days of silence. Between the scarlet cord going up and the walls going down, there is a long stretch where Rahab has to hold her nerve. She has to gather a sceptical family into a brothel on the city wall and keep them there. Imagine the conversations. Imagine a brother saying the walls have stood for centuries. Imagine the sound of Israel marching around the city once a day in total silence for six days, and the mockery of the neighbors. Rahab believed a promise from two men she had known for one night, against the testimony of every stone around her, for a week.

Then: "The young men who were spies went in, and brought out Rahab with her father, her mother, her brothers, and all that she had" (Joshua 6:23). She walks out of the only world she has ever known, with her whole family alive behind her, into a camp of strangers.

What we learn from Rahab

First, God is not waiting for you to become respectable. The three New Testament passages that mention Rahab all keep her label. She is not rebranded before she is received. The transformation is real, as her later marriage and motherhood show, but transformation is the fruit of grace, never its entrance fee. If you have been waiting until your life is tidy enough to approach God, Rahab's house on the wall is God's answer to that delay. He came looking for her in the least respectable address in Jericho.

Second, real faith moves your furniture. This is why James 2:25 asks whether Rahab was not justified by works when she received the messengers and sent them out another way. James is not contradicting Paul; he is testing the definition of faith. Jericho's citizens believed Yahweh was powerful, and it did them no good at all, because their belief never got out of their heads and into their hands. Rahab's faith cost her everything that could have been taken from her: her safety, her citizenship, her trade, her reputation among her own people. Faith that risks nothing proves nothing.

Third, one person's faith can carry a household. Rahab did not negotiate only for herself. Her instinct, before she knew anything about Israel's law, was to drag her parents and siblings under the same protection she had found. There is a pattern here that runs all the way to Acts, where households come to faith through one person's testimony. You may feel like the only believer in your family, the odd one out at the Christmas table. Rahab was the odd one out in an entire city. The scarlet cord in her window had room under it for everyone willing to come inside.

Her rescue had a door, and the door stayed open.

And one honest footnote before we move on. Rahab lied. Joshua 2:4 and 2:5 record her telling the king's men that the spies had already left, when they were lying under flax on her roof. Scripture never praises the lie; Hebrews 11:31 commends her for receiving the spies in peace, and James 2:25 for receiving them and sending them out another way. God commends her faith while leaving her methods exactly as flawed as they were. Mature faith does not need its heroes sanitized.

The Mirror

Here is the question Rahab puts to you, and it is not about your past.

You already know more about God than Rahab ever did when she hung that cord in the window. You own a Bible she never saw. You know the name of the Messiah she never heard. You have sat under teaching that Jericho's elders would have given their city to hear once. So the question is not whether you have enough information. The question is what you have done with the news you already have.

Think about where that actually lands. There is a conversation at work you have been avoiding because being known as a Christian there would cost you something socially. There is a pattern with money you know does not belong in a life surrendered to Christ, and you have been managing it rather than killing it. There is a relationship you keep half in and half out, because a clean decision would mean loneliness for a while. There is a family member you pray about privately but have never actually invited under the scarlet cord with you. There is a body, a diary, a phone, a bank account that still belongs to the old city.

Rahab did not wait for the walls to shake before she acted. She acted when the city still looked permanent, when every visible thing argued that Jericho would stand forever and the people of God outside were a rumor. Your Jericho also looks permanent. Your career, your mortgage, your circle, your routines all feel more solid than the kingdom you cannot see.

She tied the cord anyway.

If you are reading this thinking your history disqualifies you, hear it clearly: the woman whose job title is repeated three times in Scripture is in the ancestry of Jesus Christ. Nothing in your file is a bigger obstacle than that. The only disqualification in Jericho was hearing the news and bolting the door.

Explained for children

Children grab Rahab's story faster than most adults do, because at its center there is a red rope in a window and a wall that falls down. The simplest way to tell it is as a rescue story with a sign. There was a city that was about to be judged for its cruelty and its false gods. A woman who had done many wrong things heard about the God of Israel, and unlike everyone else in her city, she believed He was the real God of heaven and earth. She hid two of God's people to keep them safe, and they promised to rescue her. The sign of the promise was a red cord hanging in her window. Everyone who stayed inside that house was safe when the walls came down, and afterwards Rahab became part of God's family, and many years later Jesus was born from her family line.

For younger children, keep the emphasis on the rescue and the sign, and leave the details of her work out of it; it is enough to say she had done wrong things and God still loved her. Older children can handle the harder questions about judgment and about her lie, and they usually ask them.

Faith.network offers age-specific versions of this story for preschoolers aged three to six, for elementary children aged seven to twelve, and for teenagers aged twelve and up, each with the language, honesty level, and questions suited to that age.

Frequently asked questions

Who was Rahab in the Bible?

Rahab was a Canaanite woman living in Jericho around the time Israel entered the promised land, roughly the late second millennium before Christ. Joshua 2:1 introduces her as a prostitute whose house was built into the city wall. When Joshua sent two spies into Jericho, she hid them, confessed faith in Yahweh as the God of heaven and earth, and secured a promise of rescue for her family. She survived the destruction of the city, joined Israel, married Salmon, and became the mother of Boaz, placing her in the direct ancestry of King David and of Jesus Christ.

Was Rahab really a prostitute, or just an innkeeper?

Some older commentators suggested she ran an inn, partly because a Jewish tradition and the ambiguity of hospitality in the ancient world allowed it. The text does not support the softening. The Hebrew term in Joshua 2:1 is the standard word for a prostitute, and the Greek word used in Hebrews 11:31 and James 2:25 is equally unambiguous. The New Testament writers had every opportunity to use a gentler word and deliberately did not. Keeping her description intact is part of the point: Scripture is showing what grace reaches, not pretending there was less to forgive.

Was it right for Rahab to lie about the spies?

Rahab lied to the king's men in Joshua 2:4 and 2:5, and Scripture never commends the lie itself. Hebrews 11:31 praises her for receiving the spies in peace, and James 2:25 for receiving and sending them out, not for her deception. Christians have long debated whether deceiving murderous authorities to protect innocent life is a lesser evil or no sin at all, and faithful believers land in different places. What the Bible does make clear is that God credited her faith while her understanding of truth telling was still immature, which is how He deals with all of us.

What does the scarlet cord in Rahab's window mean?

The cord was the agreed sign of the oath, described in Joshua 2:18 and tied in place in Joshua 2:21. Functionally it marked her house so the invading army would spare it. Symbolically it echoes the Passover in Exodus 12, where blood on the doorframes marked out the households that judgment would pass over, with the same rule that everyone had to remain inside. Many Christians also see a foreshadowing of the blood of Christ, the visible sign of a promise that shelters all who take refuge in it. The text itself invites the Passover comparison.

How is Rahab related to Jesus?

Matthew 1:5 states it directly: "Salmon became the father of Boaz by Rahab. Boaz became the father of Obed by Ruth. Obed became the father of Jesse." Boaz married Ruth, their son Obed fathered Jesse, and Jesse fathered David. Jesus is descended from David through Joseph's legal line, which Matthew is tracing. So Rahab is the great-great-grandmother of King David and an ancestor in the royal line that leads to Christ. Matthew names only four women before Mary, and the inclusion of a Canaanite prostitute at the start of his Gospel is a deliberate signal about who this Messiah came for.

Who was Salmon, the man Rahab married?

Salmon was a man of the tribe of Judah, listed in the genealogies of Ruth 4:20 and 1 Chronicles 2:11 as the son of Nahshon, who was the leader of Judah during the wilderness years. That makes Salmon a man of considerable standing. Scripture never tells us how he and Rahab met or what the community thought of the marriage, and Joshua gives no hint of it. Matthew 1:5 is our only source for the connection. A prominent Israelite marrying a rescued Canaanite woman is itself a quiet statement that Israel's God integrates outsiders fully, not partially.

Why is Rahab included in the hall of faith in Hebrews 11?

Hebrews 11:31 says, "By faith, Rahab the prostitute didn't perish with those who were disobedient, having received the spies in peace." The writer places her immediately after the fall of Jericho's walls, pairing the triumph of Israel's faith with the rescue of one Canaanite's faith. She qualifies because she acted on an unseen promise against overwhelming visible evidence, which is precisely the definition given in Hebrews 11:1. The word used of her neighbors, disobedient, is important: they heard the same reports and refused. Her inclusion shows that faith, not ethnicity or moral record, defines the people of God.

How can James say Rahab was justified by works if we are saved by faith?

James 2:25 asks, "In the same way, wasn't Rahab the prostitute also justified by works, when she received the messengers and sent them out another way?" James is addressing a claim to faith that produces nothing. He uses the word justified in the sense of demonstrated or vindicated as genuine, while Paul uses it for being declared righteous before God. Both writers point to the same reality from different sides: Rahab was saved by trusting Yahweh, and the proof that her trust was real is that she risked her life on it. Dead belief saves no one, as the rest of Jericho discovered.

Is the Rahab in Psalm 87 and Isaiah 51 the same person?

No. Psalm 87:4 and Isaiah 51:9 use a different Hebrew word, a poetic name meaning something like arrogance or storm, used as a symbolic title for Egypt and for the chaos monster of the sea. It happens to be spelled similarly in English translation, but it is unrelated to the woman of Jericho. Her name in Hebrew comes from a root meaning broad or spacious. The confusion is common because the English transliteration is identical, so it is worth checking the context: if the passage is about Egypt or the sea, it is not about her.

What happened to Rahab after Jericho fell?

Joshua 6:23 says the spies brought out Rahab, her father, her mother, her brothers, and all she had, and set them outside the camp of Israel, presumably for a period of ritual separation. Joshua 6:25 then records that Joshua saved her alive and that "she lives in the middle of Israel to this day." That phrase marks a full move from outside to inside, from quarantined foreigner to settled member of the covenant community. Matthew 1:5 tells us she married Salmon and bore Boaz. Scripture records nothing of her death, which is itself a kind of tribute.

Why did God save Rahab but destroy the rest of Jericho?

The destruction of Jericho was an act of judgment on Canaanite society, which Genesis 15:16 says God had patiently delayed for centuries until its iniquity was complete. That judgment was never about ethnicity, which is the whole reason Rahab's story is told. She received the same warning as her neighbors and responded with faith and repentance; they received it and barred the gates. Joshua 6:17 singles her out by name before the attack begins. The pattern holds throughout Scripture: judgment falls on those who harden themselves against known truth, and mercy is available to anyone who turns.

What does Rahab's story teach about God's grace today?

It teaches that grace is not a reward for a clean history and not a payment for sincerity, but a rescue extended to people with nothing to offer except their willingness to take shelter. Rahab had no law, no sacrifices, no heritage, and a reputation that followed her into the New Testament. What she had was a report about God and the courage to act on it. If your past feels like a locked door, remember that her house was the first one in Canaan where God's mercy landed, and that the Messiah's family tree runs straight through it.

In closing

Jericho did not fall because Israel was clever. Jericho fell because God had decided it would, and everyone inside the city knew enough to see it coming. The tragedy of that city is not ignorance; it is a population that trembled at the truth and then locked the gate. Rahab stands out precisely because she did nothing exotic. She took the news everyone had and acted as though it were true.

That is still the dividing line. Not religious background, not moral track record, not how much theology you can quote. The question is what you do with what you already know about the God who dried the sea, who judges the proud, and who gave His Son so that judgment could pass over a marked household.

Read Joshua 2 and Joshua 6 straight through in one sitting, and then read Matthew 1:1 to 17 with her name in view. Then sit with Hebrews 11:31 and James 2:25 side by side and ask the plain question those verses are designed to provoke: is there anything in my life that would show, to an observer, that I actually believe this?

Rahab's cord was visible from the street. Faith usually is.

Share this page

Help spread the gospel. Send this explanation to someone who could be encouraged by it.

WhatsApp Email Facebook X / Twitter
Daily verse

A passage and reflection in your inbox every morning

Every morning you receive a Bible passage with a short reflection to start your day with. Already 6,545 people are reading along.

You will first receive a confirmation email. You can unsubscribe at any time with one click.

The wall of insights

What touches you in Scripture? What can we pray for? What can we thank God for?

Prayer Editorial on Haggai 1:7

Father, slow me down long enough to look honestly at how I'm spending my days. I keep building things that…

Insight Editorial on Proverbs 27:27

Notice what the shepherd actually eats. Not the flock, the milk. "There will be plenty of goats' milk for your…

Insight Editorial on Genesis 37:27

Judah says it out loud: "he is our brother, our flesh." He knows. And he sells him anyway. Notice how…

Prayer Editorial on Proverbs 29:1

Father, soften me where I've grown stubborn. I've heard the same correction more than once and brushed it off, telling…

Thanks Editorial on Leviticus 24:15

Thank You that You take Your own name seriously, that words spoken against You are never shrugged off as nothing.…

Insight Editorial on Joshua 11:1

Jabin "heard of it." So did Rahab, chapters earlier, and she bowed. Same reports, two hearts. One woman heard what…

Disclaimer: Faith.network uses automated language models to prepare Bible studies and reflections. All content is generated from the Bible text itself and checked daily by an independent, automated quality control: random samples from every language site are scored on faithfulness to Scripture, verbatim Bible quotation, language and clarity, and the results are published unedited. Even so, no explanation is infallible and mistakes can occur. Nothing on this platform constitutes professional advice, and no rights can be derived from its content. Always test what you read against the Bible itself, and use Faith.network as a supplement to your own Bible study, prayer and the life of a local church community, never as a replacement for them. Our full Disclaimer and Terms of Use apply. See our daily quality checks

© 2026 Faith.Network. All rights reserved.

Faith.network is a ministry of Faith.network · KvK 84972599 · connect@faith.network

Made possible by our partners
Company?