Then Joshua the son of Nun sent two men as spies secretly from Shittim, saying, “Go, see the land, especially Jericho.” So they went and came into the house of a harlot whose name was Rahab and lodged there.
And the king of Jericho sent word to Rahab, saying, “Bring out the men who have come to you, who have entered your house, for they have come to search out all the land.”
Now it happened when it was time to shut the gate at dark, that the men went out; I do not know where the men went. Pursue them quickly, for you may overtake them.”
and said to the men, “I know that Yahweh has given you the land, and that the terror of you has fallen on us, and that all the inhabitants of the land have melted away before you.
For we have heard how Yahweh dried up the water of the Red Sea before you when you came out of Egypt and what you did to the two kings of the Amorites who were beyond the Jordan, to Sihon and Og, whom you devoted to destruction.
Indeed we heard it, and our hearts melted, and a courageous spirit no longer rose up in any man because of you; for Yahweh your God, He is God in heaven above and on earth beneath.
So now, please swear to me by Yahweh, since I have shown lovingkindness to you, that you also will show lovingkindness to my father’s household and give me a pledge of truth,
So the men said to her, “Our life for yours if you do not tell this business of ours; and it will be when Yahweh gives us the land that we will show lovingkindness and truth to you.”
And she said to them, “Go to the hill country, lest the pursuers reach you. And hide yourselves there for three days until the pursuers return. Then afterward you may go on your way.”
unless, when we come into the land, you tie this cord of scarlet thread in the window through which you let us down, and gather to yourself into the house your father and your mother and your brothers and all your father’s household.
And it will be that anyone who goes out of the doors of your house into the street, his blood shall be on his own head, and we shall be free; but anyone who is with you in the house, his blood shall be on our head if a hand is laid on him.
And they went and came to the hill country and remained there for three days until the pursuers returned. The pursuers had sought them all along the road but had not found them.
Then the two men returned and came down from the hill country and crossed over and came to Joshua the son of Nun, and they recounted to him all that had happened to them.