Rahab in Joshua 2: Faith, Risk, and a Place in Christ
Short answer: Rahab was a Canaanite prostitute living in Jericho when Joshua sent two spies into the land. She hid them, lied to the king's men about their whereabouts, and asked the spies to spare her family when Israel attacked. Joshua 2:1-24 records the whole episode, and Joshua 6:22-25 shows Israel keeping that promise. The New Testament names her twice more: Hebrews 11:31 says, "By faith, Rahab the prostitute didn’t perish with those who were disobedient, having received the spies in peace." James 2:25 says, "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?" Matthew 1:5 places her in the family line of Jesus. Her story is about a pagan outsider who trusted the God of Israel and acted on that trust.
Who Rahab Was Before the Spies Arrived
Jericho was a fortified city in the Jordan Valley, and Joshua sent two men from Shittim with orders to view the land, especially Jericho. They entered the city and came to the house of a prostitute named Rahab, and they stayed there. That single detail tells us something about the woman at the centre of the story. She was a Canaanite, not an Israelite. She belonged to the people God had told Israel to dispossess. She was a prostitute, a trade that placed her near the bottom of the social order in any ancient town. Nothing in her background marked her out as a candidate for anything God was doing.
That is the point of the detail. The text does not introduce her as a secret believer or as someone with Israelite relatives. It calls her a prostitute, and it does so again in Joshua 6:22-25, in Hebrews 11:31, and in James 2:25. Every inspired writer who mentions her keeps the label. They are not embarrassed by it, and they do not soften it. They are showing us that God's mercy reaches people the religious world would overlook. The woman who appears next in the story is not favoured because of her reputation. She is favoured because of what she does with the knowledge she has.
Her house sat on the city wall, which is why she could let the spies down through a window. A prostitute's house in a walled city was often a place where travellers came and went, so two strangers entering it would not have drawn the same attention as two strangers entering a private family home. Whether or not that was the spies' intention, the setting gave them cover. It also gave Rahab access to information. People talk in such places, and Rahab had heard enough about Israel and their God to draw conclusions that her neighbours had not drawn.
We should not read her occupation as God's endorsement of it. Scripture never does that. It names her sin plainly and credits her faith plainly, holding both together without flinching. The God of the Bible does not wait for people to clean themselves up before He uses them. He meets them where they are, and He calls them to turn. Rahab's story begins in a brothel on a doomed city wall and ends in the ancestry of the Messiah. That is not a story about a good person being rewarded. It is a story about grace finding an unlikely person in an unlikely place.
What Rahab Had Heard and What She Confessed
Before she hid anyone, Rahab spoke to the two spies on the roof. She told them what she knew. She had heard how Yahweh dried up the water of the Red Sea when Israel came out of Egypt, and she had heard what Israel did to Sihon and Og, the two Amorite kings beyond the Jordan. News like that travels. Traders, refugees, and travellers carried it into Jericho, and the city had been talking about it for forty years. But Rahab did not simply repeat the news. She drew a conclusion from it, and she said that conclusion out loud to two men she had just met.
Her confession is remarkable for what it claims about God. She said that Yahweh is God in heaven above and on earth beneath. That is a statement of exclusive sovereignty, spoken by a Canaanite woman in a Canaanite city, in the hearing of two Israelite spies. She was not adding Yahweh to a list of local deities. She was saying that the God of Israel rules everywhere, above and below. The same confession echoes in Deuteronomy 4:39, where Israel is told to know that Yahweh is God in heaven above and on earth beneath. Rahab, an outsider, arrived at the truth Israel was commanded to hold.
Notice also what she did not say. She did not ask for a theological lecture. She did not negotiate terms. She said she knew that Yahweh had given Israel the land, and she said that the fear of Israel had fallen on Jericho because of it. The people of Jericho knew the facts. Their hearts melted, and they lost their courage. The difference between Rahab and her neighbours was not information. It was what she did with it. They trembled and did nothing. She trembled and acted. Her fear produced faith rather than paralysis, and faith moved her to attach herself to the people of God.
This is the heart of the passage. Rahab believed that the God of Israel was real, that He was powerful, and that He was about to act in judgment on her city. She also believed that mercy was possible. She asked the spies to swear to her by Yahweh that they would deal kindly with her family, and she asked for a sign of good faith. She was not presuming on God's mercy in a vague way. She was asking specific men to make a specific oath in God's name. That is faith taking shape in a concrete request, and God honoured it.
Rahab's Lie and the Honest Questions It Raises
When the king of Jericho heard that spies had entered Rahab's house, he sent men to bring them out. Rahab hid the two men under stalks of flax on her roof, and she told the king's messengers that the men had left before the city gate was shut. She sent them off on a chase down to the Jordan. That was a lie, and the Bible records it without comment. Faithful Christians have read this passage differently for centuries. Some argue that she was protecting innocent life and that the lie was a tragic necessity in a fallen world. Others argue that the lie was sin, forgiven like her other sins, and that Scripture commends her faith without approving every detail of her conduct.
We should be honest about that disagreement rather than pretending it is easily resolved. The text does not tell us to imitate her deception. Hebrews 11:31 and James 2:25 commend her faith and her works. Neither passage praises the lie. James points specifically to the fact that she received the messengers and sent them out another way. That is, he praises her hospitality to the spies and her action on their behalf. He does not say she was justified because she lied. He says she was justified by works, and the work he names is receiving and protecting the men who came with God's message.
What the passage does establish is that Rahab chose a side. She was a citizen of Jericho. Her king sent men to her door, and she had a duty to her city. She turned her back on that duty because she had come to believe that Yahweh was the true God and that Jericho's cause was lost. That decision cost her everything she had known. She could not go back to being an ordinary Jericho prostitute after that night. She burned the bridge behind her, and she did it before she had any guarantee that Israel would win or that the spies would keep their word.
The lie is a real ethical question, and we should not wave it away. But if we fixate on it, we miss the weight of what Rahab did. She risked her life for two men she had never met, on the strength of a report she had heard about a God she had never worshiped. Her conduct was not tidy. Faith in Scripture rarely is, especially when it first takes root in a pagan heart. What matters is that she acted on what she believed, and God received her.
The Scarlet Cord and the Promise to Her Family
Before the spies left, Rahab made them swear an oath. She asked them to spare her father, her mother, her brothers, her sisters, and everyone who belonged to her, and to deliver their lives from death. The men agreed, on one condition: she was to tie a scarlet cord in the window through which she let them down, and she was to gather her whole family into her house. When Israel came, anyone inside that house would be spared. Anyone who went out into the street would be responsible for their own blood. The arrangement was plain, and Rahab accepted it.
The spies told her that they would be guiltless of the oath she had made them swear if she failed to keep her side. That detail matters. The promise was real, but it was attached to a visible sign. Rahab was not asked to trust a vague assurance. She was given something to do, and she did it. Joshua 6:22-25 tells us that when the city fell, Joshua told the two men who had spied out the land to go into the prostitute's house and bring the woman and all that she had out from there, as they had sworn to her. The oath was kept.
The scarlet cord has often been read as a picture of deliverance by blood, though Scripture never says that directly. What the text does say is that the cord marked the house where faith was, and that everyone gathered inside was saved. It was not the cord itself that saved them, any more than the blood on the doorposts in Egypt saved Israel by its own power. Both were signs attached to a promise. God told Israel that when He saw the blood, He would pass over them. Here, the cord in the window identified the household that had cast its lot with the God of Israel, and Israel spared that household.
The scope of the promise is striking. Rahab did not ask only for herself. She asked for her whole family, and God granted it. Her faith did not remain private. It reached backward into the family she came from and pulled them into safety with her. That is a pattern worth noticing. When God saves a person out of a doomed situation, He often gives them a burden for the people they love, and He honours the risk they take to bring those people in. Rahab's house became a small island of mercy inside a city under judgment.
How the New Testament Remembers Her
Rahab appears three times in the New Testament, and each appearance adds something. Hebrews 11:31 lists her among the faithful, saying that by faith she did not perish with those who were disobedient, because she had received the spies in peace. That places her alongside Abraham, Moses, and the other figures in the great cloud of witnesses. A Canaanite prostitute stands in the same chapter as the patriarchs, not because she was morally impressive, but because she believed God and acted on that belief. Her faith is the same faith that saved Abraham, expressed in a very different life.
James 2:25 uses her as an example of the second point in his argument. James is not contradicting Paul when he speaks of justification by works. He is saying that faith which produces nothing is dead, and he points to Rahab as proof. She did not merely believe a fact about God. She received the messengers and sent them out another way. Her faith showed itself in action. James and Hebrews are not in conflict here. Hebrews praises the faith, and James praises the work that faith produced. Together they give us a complete picture of a woman whose trust in God changed what she did.
Matthew 1:5 is perhaps the most surprising of all. In the genealogy of Jesus, we read that Salmon became the father of Boaz by Rahab, that Boaz became the father of Obed by Ruth, and that Obed became the father of Jesse. Rahab the Canaanite prostitute became the great-great-grandmother of King David, and therefore an ancestor of Jesus Christ. The woman who was once outside the covenant people is woven into the line that leads to the Messiah. God did not merely spare her. He gave her a place in the story of redemption.
That is the deepest answer to the question of who Rahab was. She was a sinner saved by grace, a foreigner grafted into Israel, a woman whose past was not erased but whose future was rewritten. The text never hides what she had been. It simply refuses to let that define what she became. Her story is a standing invitation to anyone who thinks their background disqualifies them from God's mercy. If a Canaanite prostitute on a doomed city wall could be received, remembered, and named in the genealogy of Christ, then no one who turns to God is beyond His reach.
What Rahab's Faith Teaches About Risk and Obedience
Rahab's faith was not passive. She hid the spies at the risk of her life, and she lied to the king's men knowing what would happen to her if she were caught. She let the men down through the window by a rope, sent them toward the hills, and told them to hide there for three days until their pursuers returned. Every step of that required courage. She had no army, no allies, and no guarantee. She had a report about what God had done for Israel forty years earlier, and she staked her life on it. That is what faith looks like when it is not merely a feeling.
Her obedience was also specific. She did not simply have warm thoughts about Yahweh. She did the thing the spies told her to do. She gathered her family into the house, and she tied the cord in the window. She stayed inside the boundary of the promise. Faith in Scripture is not a vague hope that things will work out. It is trust that expresses itself in the concrete actions God has asked for. Rahab did not know when Israel would come. She did not know how the siege would end. She knew what she had been told to do, and she did it, and she waited.
There is a lesson here about the kind of people God uses. Rahab had no standing in Israel. She had no training, no genealogy, and no reputation. She was a woman in a culture that gave women little public voice, and she was a prostitute in a culture that despised the trade. Yet she is the one who spoke the confession of faith in Joshua 2, and she is the one whose name is recorded in Hebrews 11, James 2, and Matthew 1. God's pattern of using unlikely people is not an exception. It is a theme that runs through the whole Bible.
Rahab's story also warns us. The rest of Jericho had the same information she had. They knew about the Red Sea and about the Amorite kings, and their hearts melted too. But they did not act. They stayed in the city and perished with it. The difference was not knowledge. It was repentance, expressed in action. Rahab turned toward the God she had heard about. Her neighbours turned toward nothing. The opportunity was open to all of them, and the covenant sign was available to any who would join her in that house. They did not come, and they were lost.
What Rahab's Story Says to Outsiders Today
The most personal application of this passage is for the person who assumes they are too far gone. Rahab was not merely an outsider by birth. She was an outsider by trade, by reputation, and by every measure that mattered in her world. If anyone had a reason to think God would not want her, she did. Yet the God of Israel sent two spies into her house, and she received them, and she was saved. The New Testament does not mention her with awkwardness. It holds her up as an example. Hebrews 11:31 says she did not perish with those who were disobedient. Her faith was counted as real.
Her story also speaks to families. Rahab asked for her father, mother, brothers, sisters, and everyone belonging to her. She did not rest until she had secured a place for them inside the promise. That is a picture of what it looks like to love people who do not yet believe. We cannot force anyone into the house, and the text makes clear that those who stayed in the streets bore their own responsibility. But we can open the door, tell them what we know, and plead with them to come in while there is time. Rahab did that, and her household was saved with her.
Rahab's story also humbles anyone who is tempted to pride. The book of Joshua goes on to record Israel's failures at Ai and elsewhere. The people of God were not saved because they were better than the Canaanites. They were saved because God had chosen them and been faithful to His promises. Rahab was saved because she believed those promises and joined herself to them. There is no room for ethnic or moral boasting in this story. The only thing that distinguished Rahab from her neighbours was faith, and even that faith was a gift she received, not a merit she earned.
Finally, Rahab's story points forward to a greater deliverance. She was an outsider who was brought near. She was a sinner whose past was forgiven. She was a woman whose name appears in the family line of the Saviour. The New Testament uses her to teach us that God has always been gathering a people from every nation, and that He has always been willing to receive anyone who turns to Him in faith. Her scarlet cord, her oath, and her rescued family are a small picture of the great rescue God accomplished in Jesus Christ for all who trust Him.
Biblical fidelity check
Joshua 2:1-24 establishes several things plainly. It establishes that Rahab was a real woman in a real city, that she hid two Israelite spies, that she confessed Yahweh as God in heaven above and on earth beneath, that she asked for the deliverance of her family, that she was given a sign and a promise, and that she acted on it. It establishes that the spies made an oath in God's name and that Joshua later kept it. It does not establish that God approved of the lie she told the king's men, nor does it say she was saved by her own goodness. Hebrews 11:31 attributes her salvation to faith, and James 2:25 points to her works as the evidence of that faith.
A common misreading treats Rahab as a moral hero whose deceit should be imitated whenever Christians face danger. That is wrong because Scripture never commands or commends deception here. The text records what happened and commends her faith and her reception of the messengers. Another common misreading treats her as saved by a lie, which would contradict the rest of Scripture. The truth is that God saved her by grace, her faith showed itself in action, and her record was cleansed, but her past occupation and her deception remain in the story as marks of the world God called her out of.
Other passages that speak to Joshua 2
Rahab's story does not stand alone. It connects to several larger biblical themes worth studying alongside it. The conquest narratives raise questions about how God commanded Israel to take the land, which is treated in Ancient warfare rhetoric and Joshua: A Biblical Guide. The experience of being a foreigner in a strange land connects to Babylonian exile and life away from Jerusalem: A Biblical Guide. The character traits that God blesses appear in The Beatitudes Explained: Matthew 5:1–12 Meaning. And the deliverance Rahab received foreshadows the eternal salvation promised to believers, as seen in Bible Verses About Eternal Life: A Scripture-First Guide for Christians.
Frequently asked questions
Was Rahab saved by lying to the king's men?
No. Scripture never says that Rahab was saved because she lied. Hebrews 11:31 attributes her salvation to faith, saying she did not perish with those who were disobedient because she received the spies in peace. James 2:25 points to her works, specifically that she received the messengers and sent them out another way. Her lie is recorded without divine approval. It was a real moral failing in a real situation, and faithful Christians differ on how to evaluate it. What Scripture commends is her faith and her decision to side with God and His people.
Why is Rahab included in Jesus' family tree?
Matthew 1:5 names Rahab as the mother of Boaz, making her an ancestor of David and therefore of Jesus Christ. Her inclusion is remarkable because she was a Canaanite and a prostitute, two things that would normally exclude someone from a Jewish genealogy of honour. Her presence in the line of the Messiah shows that God's plan of salvation always included people from outside Israel. It also shows that God does not erase a person's past, and does not let it disqualify them from His purpose. Her story is a picture of grace reaching an unlikely person.
What did Rahab believe about God before the spies came?
Rahab told the spies that she had heard how Yahweh dried up the Red Sea and defeated Sihon and Og. She concluded that Yahweh is God in heaven above and on earth beneath. That is a confession of exclusive sovereignty, not a vague admiration. The rest of Jericho heard the same reports and their hearts melted too, but only Rahab acted on what she knew. Her belief was real before the spies arrived, and her actions proved it. Faith in the biblical sense is not just knowledge of facts, but trust that moves a person to act.