Hebrews 11:31

By faith Rahab the prostitute was not destroyed along with those who were disobedient, because she had welcomed the spies [sent by the sons of Israel] in peace.

James 2:25

In the same way, was Rahab the prostitute not justified by works too, when she received the [Hebrew] spies as guests and protected them, and sent them away [to escape] by a different route?

Joshua 6:22-25

But Joshua said to the two men who had spied out the land, “Go into the prostitute’s house and bring the woman and all that she has out of there, as you have sworn to her.”

Matthew 1:5

Salmon was the father of Boaz by Rahab, Boaz was the father of Obed by Ruth, and Obed the father of Jesse.

Joshua 1:1

Now it happened after the death of Moses the servant of the Lord, that the Lord spoke to Joshua the son of Nun, Moses’ servant (attendant), saying,

Joshua 2:1-24

Joshua the son of Nun sent two men as scouts secretly from Shittim, saying, “Go, view the land, especially Jericho [the walled city].” So they went and came to the house of a prostitute named Rahab, and lodged there.

Matthew 1:1

The record of the genealogy of Jesus the Messiah, the son (descendant) of David, the son (descendant) of Abraham:

Hebrews 3:18

And to whom did He swear [an oath] that they would not enter His rest, but to those who disobeyed [those who would not listen to His word]?

1 Peter 2:8

and,“A stone of stumbling and a rock of offense”; for they stumble because they disobey the word [of God], and to this they [who reject Him as Savior] were also appointed.

1 Peter 3:20

who once were disobedient, when the great patience of God was waiting in the days of Noah, during the building of the ark, in which a few, that is, eight persons [Noah’s family], were brought safely through the water.

Treasury of Scripture Knowledge

Summary

By faith the harlot Rahab perished not with them that believed not, when she had received the spies with peace.

Bible References

The harlot

Joshua 2:1
Joshua the son of Nun sent two men as scouts secretly from Shittim, saying, “Go, view the land, especially Jericho [the walled city].” So they went and came to the house of a prostitute named Rahab, and lodged there.
Joshua 6:22
But Joshua said to the two men who had spied out the land, “Go into the prostitute’s house and bring the woman and all that she has out of there, as you have sworn to her.”
Matthew 1:1
The record of the genealogy of Jesus the Messiah, the son (descendant) of David, the son (descendant) of Abraham:
James 2:25
In the same way, was Rahab the prostitute not justified by works too, when she received the [Hebrew] spies as guests and protected them, and sent them away [to escape] by a different route?

Believed not

Hebrews 3:18
And to whom did He swear [an oath] that they would not enter His rest, but to those who disobeyed [those who would not listen to His word]?
1 Peter 2:8
and,“A stone of stumbling and a rock of offense”; for they stumble because they disobey the word [of God], and to this they [who reject Him as Savior] were also appointed.
1 Peter 3:20
who once were disobedient, when the great patience of God was waiting in the days of Noah, during the building of the ark, in which a few, that is, eight persons [Noah’s family], were brought safely through the water.

She had

Joshua 1:1
Now it happened after the death of Moses the servant of the Lord, that the Lord spoke to Joshua the son of Nun, Moses’ servant (attendant), saying,
Joshua 2:4
But the woman had taken the two men and hidden them; so she said, “Yes, two men came to me, but I did not know where they were from.