The Bible Story of Rahab
Share

Genealogies aren’t most readers’ favorite part of the Bible. But sometimes, a genealogy offers a surprising connection that changes the way we understand the Bible. In Matthew’s genealogy of Jesus, no name is more surprising—or unlikely—than Rahab.
First, Rahab was a woman. Genealogies traced the male lineage, so a reference to a mother in the lineage is unexpected and rare.
Second, Rahab was a Canaanite. She was an enemy of Israel, a member of a culture so evil that God sentenced them to destruction. Israel was expressly prohibited from intermarrying Canaanites because such intermarriage would influence Israel towards pagan practices (idol worship, cultic prostitution, child sacrifice, etc.). Rahab was disqualified from the Messiah’s lineage from the start.
Third, Rahab was a prostitute. She didn’t have a track record of following God’s laws—she lived in sexual sin like many other Canaanites. Not exactly strong grounds for an exception to the rule!
Yet Rahab did become an ancestor of the Messiah, and is consistently lifted up as an example of faith we should all learn from. So, how did a Canaanite prostitute become one of the heroes of the Bible?
Spies and Lies
Rahab lived in Jericho, a prominent, well-fortified city. Jericho’s walls were so large and sturdy that many people—including Rahab’s family—lived in homes within the walls themselves.
Despite this impressive line of defense, Rahab and her neighbors lived in fear. A new nation, Israel, had arisen from the land of Egypt, and Israel’s God had proved his power. This God miraculously dried up the Red Sea so his people could cross, and when the Amorite kings Sihon and Og brought the full force of their armies against Israel, Israel completely destroyed them. Now, Israel was poised to cross the Jordan, and Jericho was next in their line of conquest. Little did Rahab know she would play a crucial role in that conquest.

One day, two Israelite spies entered the city of Jericho, scouting out the land for Israel’s leader, Joshua. At the time, many brothels also served as inns, and the spies intended to spend the night at Rahab’s house. However, the spies had not gone undetected, and the King of Jericho soon traced them to Rahab’s home.
That’s when Rahab faced the choice of her life.
Here were the king’s men, declaring that the men staying in her home were spies from the feared nation of Israel. The obvious choice was to obey the king and turn them in. But Rahab didn’t do that. Instead, she hid the men beneath stalks of flax drying on the roof, then went to the king’s men and spun a convincing lie: “Yes, the men came to me, but I did not know where they had come from. At dusk, when it was time to close the city gate, they left. I don’t know which way they went. Go after them quickly. You may catch up with them” (Joshua 2:4-5, NIV).
If the spies had been discovered, Rahab and her family would have doubtlessly been executed. Why did Rahab take such a risk? Because she wanted to be on the winning side—God’s side. Here’s what Rahab says to the spies:
“I know that the Lord has given you this land and that a great fear of you has fallen on us, so that all who live in this country are melting in fear because of you. . . . for the Lord your God is God in heaven above and on the earth below. Now then, please swear to me by the Lord that you will show kindness to my family, because I have shown kindness to you. Give me a sure sign that you will spare the lives of my father and mother, my brothers and sisters, and all who belong to them—and that you will save us from death” (Joshua 2:9-13, NIV).
Notice how Rahab says, “The Lord your God.” She recognizes she is an outsider, that the Lord is not the God of her people—but she also recognizes the Lord is greater than all the gods of Canaan. She knows God and his people will defeat Jericho. And she realizes her only hope is for these men to promise in the name of this great God that she will be spared.
But Rahab doesn’t stop with bartering for her own life. She isn’t simply “looking out for number one.” Rahab also barters for the lives of her entire family—her father, mother, brothers, sisters, and their families, too.
The spies agree, and they take the oath seriously. But they set the condition that they will only save Rahab and her family if Rahab hangs a red cord from her window to indicate her house, and only the people within that house will be spared.
Rahab agrees, then offers the spies clever advice on how to evade the king’s manhunt. Now, all that’s left is the waiting.
The Conquest of Jericho
We don’t know much about Rahab’s family. Did she take a great risk in bringing them to her home, knowing that any one of them could betray her to the king? Or was her entire family also confident in Israel and Israel’s God? Scripture is silent on that. However, Joshua 6:23-25 indicates that all of Rahab’s family was present on the day Jericho’s walls came crashing down.
What was that like? Rahab’s family literally lived inside the wall itself. Did their part of the wall collapse when the trumpets blew one final time? Presumably not. The Israelite army only needed enough of a breach in the wall to enter the city. But even if most of the wall was destroyed, God could have intentionally spared Rahab’s house and family—and her family was indeed spared.
The book of Joshua concludes Rahab’s story with these words: “But Joshua spared Rahab the prostitute, with her family and all who belonged to her, because she hid the men Joshua had sent as spies to Jericho—and she lives among the Israelites to this day” (Joshua 6:25, NIV).
However, that’s not quite the end of Rahab’s story...
Rahab’s Legacy
Rahab was accepted into the people of Israel—she even married an Israelite, Salmon (Matthew 1:5). One of Rahab and Salmon’s descendants, Boaz, would also marry a foreigner—Ruth the Moabitess. The stories of Rahab and Ruth both echo the same truth of God’s mercy.
Many people look at the Old Testament and cringe at the harsh passages commanding the complete destruction of the Canaanites and the prohibitions against intermarriage. Some critics of Christianity even accuse the Bible of promoting genocide. While these passages are harsh, and God’s judgment of the Canaanites is thorough, God clearly offered grace when individual Canaanites genuinely turned to him in faith. Rahab is a prime example of that kind of faith—as evidenced by the New Testament.
In James 2, Rahab is used as an example of sincere, saving faith. “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? As the body without the spirit is dead, so faith without deeds is dead” (James 2:25-26, NIV).
Notice how James highlights two key facts about Rahab’s faith. First, Rahab had not achieved righteousness through living a perfect life—she’d been a prostitute. She was considered righteous by faith, not through achieving it on her own. Second, Rahab’s faith was proven real by the risk she took in protecting the spies. She risked her life by putting her faith in God rather than in the king of Jericho or the gods of Canaan. She truly lived by faith!
Hebrews 11 is the famous “Hall of Faith,” a chapter that highlights some of the most inspirational heroes of the Old Testament—and Rahab is honored as one of those heroes: “By faith Rahab the prostitute did not perish with those who were disobedient, because she had given a friendly welcome to the spies” (Hebrews 11:31, ESV).
As Christians, most of us are Gentiles. Many of us grew up as unbelievers in cultures that were far from Christian. Many of us have shameful pasts. But Rahab’s story reminds us that, no matter our past, God loves us and has a purpose for our lives. If we follow him in faith, he will work through us in ways we cannot begin to imagine—just as he worked through Rahab.
Image created using AI technology and subsequently edited and reviewed by our editorial team.












.800w.tn.jpg)



