So Joshua spared Rahab the prostitute and her relatives who were with her in the house, because she had hidden the spies Joshua sent to Jericho. And she lives among the Israelites to this day.
It was by faith that Rahab the prostitute was not destroyed with the people in her city who refused to obey God. For she had given a friendly welcome to the spies.
Rahab the prostitute is another example. She was shown to be right with God by her actions when she hid those messengers and sent them safely away by a different road.
Then Joshua secretly sent out two spies from the Israelite camp at Acacia Grove. He instructed them, “Scout out the land on the other side of the Jordan River, especially around Jericho.” So the two men set out and came to the house of a prostitute named Rahab and stayed there that night.
When we come into the land, you must leave this scarlet rope hanging from the window through which you let us down. And all your family members—your father, mother, brothers, and all your relatives—must be here inside the house.
Joshua also set up another pile of twelve stones in the middle of the Jordan, at the place where the priests who carried the Ark of the Covenant were standing. And they are there to this day.