1Joshua son of Nun secretly sent two men from Shittim as spies, saying, “Go, examine the land and Jericho.” They went and entered the house of a prostitute named Rahab, and they lodged there.
2The king of Jericho was told, “Behold, men from the sons of Israel came here tonight to search out the land.”
3So the king of Jericho sent word to Rahab: “Bring out the men who came to you, who entered your house, for they have come to search out the whole land.”
4But the woman took the two men and hid them. She said, “Yes, the men came to me, but I did not know where they were from.
5When the gate was about to close at dark, the men left. I do not know where the men went. Pursue them quickly, for you may overtake them.”
6But she had brought them up to the roof and hidden them among the stalks of flax that she had arranged on the roof.
7The men pursued them toward the Jordan as far as the fords, and the gate was shut as soon as the pursuers had gone out after them.
8Before the spies lay down, she came up to them on the roof
9and said to the men, “I know that Yehovah has given you the land, that terror of you has fallen upon us, and that all the inhabitants of the land have melted away before you.
10For we have heard how Yehovah dried up the waters of the Sea of Reeds before you when you came out of Egypt, and what you did to the two kings of the Amorites beyond the Jordan, Sihon and Og, whom you devoted to destruction.
11When we heard it, our hearts melted, and no spirit remained in anyone because of you, for Yehovah your God is God in the heavens above and on the earth beneath.
12Now therefore, please swear to me by Yehovah that, as I have shown loyalty to you, you also will show loyalty to my father’s household. Give me a trustworthy sign
13that you will keep alive my father, my mother, my brothers, my sisters, and all who belong to them, and rescue our lives from death.”
14The men said to her, “Our lives for yours, even to death, if you do not disclose this matter of ours. When Yehovah gives us the land, we will show you loyalty and faithfulness.”
15Then she let them down by a rope through the window, for her house was in the wall of the city, and she lived in the wall.
16She said to them, “Go toward the hill country, lest the pursuers encounter you. Hide there for three days until the pursuers return, and afterward you may go on your way.”
17The men said to her, “We will be free from this oath of yours that you made us swear
18unless, when we come into the land, you tie this scarlet cord in the window through which you let us down, and gather your father, your mother, your brothers, and your father’s whole household to you in the house.
19Anyone who goes outside the doors of your house will have his blood on his own head, and we will be free. But the blood of anyone who is with you in the house will be on our heads if a hand is laid on him.
20But if you disclose this matter of ours, we will be free from your oath that you made us swear.”
21She said, “According to your words, so be it.” Then she sent them away, and they left. She tied the scarlet cord in the window.
22They went into the hill country and remained there for three days, until the pursuers returned. The pursuers searched along the whole way but did not find them.
23Then the two men returned. They came down from the hill country, crossed over, and came to Joshua son of Nun. They recounted to him everything that had happened to them.
24They said to Joshua, “Yehovah has certainly given the whole land into our hand. Moreover, all the inhabitants of the land have melted away before us.”