Then Joshua son of Nun sent two men out from Shittim to spy, saying, “Go see the land, especially Jericho.” So they went, and they came to the house of a prostitute named Rahab. They spent the night there.
So the king of Jericho sent orders to Rahab, “Bring out the men who came to you, who have entered your house, for they came to spy out the whole land.”
She said to the men, “I know that the Lord has given you the land, for dread from you has fallen upon us, and all the inhabitants of the land melt in terror before you.
For we heard how the Lord dried up the waters of the Red Sea before you when you came out of Egypt, and what you did to Sihon and Og, the two kings of the Amorites who were on the other side of the Jordan, whom you completely destroyed.
Our hearts melted when we heard these things, and no man had any breath in him because of you, for the Lord your God is God in heaven above and on earth below.
“So now, since I have acted faithfully toward you, please swear to me by the Lord that you will also act faithfully toward my father’s house. Please give me a firm pledge
She said to them, “Go to the hill country so that the pursuers do not find you. Hide there three days until the pursuers return. After that, you can go on your way.”
Behold, when we come into the land, you tie this red cord to the window through which you let us down. You must bring your father, your mother, your brothers, and all who belong to your father’s household into your home.
Anyone who comes out of the doors of your house into the street is responsible for his own blood, and we will be innocent. Yet for anyone who stays with you inside the house, we are responsible for his blood if someone should lay a hand on him.
They went and came to the hill country. They stayed there three days, until the pursuers returned. The pursuers had sought them all along the way but had not found them.
So the two men returned. They descended from the hill country. They crossed the river, came to Joshua son of Nun, and told him all that they had discovered.