Then Joshua son of Nun secretly sent two spies from Shittim. "Go, look over the land," he said, "especially Jericho." So they went and entered the house of a prostitute named Rahab and stayed there.
So the king of Jericho sent this message to Rahab: "Bring out the men who came to you and entered your house, because they have come to spy out the whole land."
So the men set out in pursuit of the spies on the road that leads to the fords of the Jordan, and as soon as the pursuers had gone out, the gate was shut.
and said to them, "I know that the LORD has given this land to you 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.
We have heard how the LORD dried up the water of the Red Sea for you when you came out of Egypt, and what you did to Sihon and Og, the two kings of the Amorites east of the Jordan, whom you completely destroyed.
When we heard of it, our hearts sank and everyone's courage failed because of you, for the LORD your God is God in heaven above and on the earth below.
"Our lives for your lives!" the men assured her. "If you don't tell what we are doing, we will treat you kindly and faithfully when the LORD gives us the land."
Now she had said to them, "Go to the hills so that the pursuers will not find you. Hide yourselves there three days until they return, and then go on your way."
unless, when we enter the land, you have tied this scarlet cord in the window through which you let us down, and unless you have brought your father and mother, your brothers and all your family into your house.
If anyone goes outside your house into the street, his blood will be on his own head; we will not be responsible. As for anyone who is in the house with you, his blood will be on our head if a hand is laid on him.
When they left, they went into the hills and stayed there three days, until the pursuers had searched all along the road and returned without finding them.
Then the two men started back. They went down out of the hills, forded the river and came to Joshua son of Nun and told him everything that had happened to them.