1. Joshua, son of Nun, secretly sent two spies from Shittim, saying to them: “Go, examine the land, and Jericho.” Having set out, they came to the house of a courtesan named Rahab, and they lodged there.
2. It was told to the king of Jericho in these terms: “Behold, men from among the children of Israel have come here during the night to explore the land.”
3. The king of Jericho sent word to Rahab: “Bring out the men who have come to you and entered your house, for it is to explore the whole land that they have come.”
4. The woman took the two men and, having hidden them, she said: “It is true that these men came to me, but I did not know where they were from;
5. and as the city gate was about to be shut in the evening, they went out; I do not know where they went: hurry and pursue them, for you will overtake them.”
6. Now she had brought them up onto the roof and had hidden them under stalks of flax, which she had laid out on the roof.
7. The men pursued them by the road to the fords of the Jordan, and as soon as the pursuers had gone out, the gate was shut.
8. Before the spies lay down, Rahab went up to them on the roof, and said to them:
9. “Yahweh, I know, has given you this land; the terror of your name has seized us, and all the inhabitants of the land faint before you.
10. For we have heard how Yahweh, when you came out of Egypt, dried up the waters of the Red Sea before you, and how you dealt with the two kings of the Amorites beyond the Jordan, Sihon and Og, whom you devoted to destruction.
11. And on hearing it, our heart melted, each one lost courage at your approach; for it is Yahweh, your God, who is God in heaven above and on earth below.
12. Now, I pray you, swear to me by Yahweh that you will show the house of my father the same kindness that I have shown you, and give me a sure pledge
13. that you will spare the life of my father, my mother, my brothers, my sisters, and all who belong to them, and that you will save us from death.”
14. The men answered her: “May we die for you, if you do not disclose our business! And when Yahweh gives us this land, we will deal with you in kindness and faithfulness.”
15. She let them down by a rope through the window, for her house was built against the city wall, and she lived on the wall.
16. She said to them: “Go to the mountain, lest those who pursue you meet you, and hide there for three days, until they have returned; after that, you will go on your way.”
17. The men said to her: “This is how we will acquit ourselves of this oath that you have made us swear:
18. When we enter the land, tie this cord of scarlet thread to the window through which you let us down, and gather with you, in your house, your father, your mother, your brothers, and all your father's family.
19. If any of them goes out of the door of your house into the street, his blood will be on his own head, and we will be innocent of it; but if a hand is laid on any one of all those who are with you in the house, his blood will be on our head.
20. And if you disclose our business, we will be released from the oath that you have made us take.”
21. She answered: “Let it be according to your words.” Then she sent them away, and they departed; and she tied the scarlet cord to the window.
22. The spies went away and came to the mountain, and they stayed there three days, until those who pursued them had returned to Jericho. The pursuers had searched for them all along the road, without finding them.
23. The two men turned back and, having come down from the mountain, they crossed the Jordan. They came to Joshua, son of Nun, and told him all that had happened to them.
24. They said to Joshua: “Surely Yahweh has delivered the whole land into our hands, and all the inhabitants of the land even faint before us.”