Joshua the son of Nun sent out of Shittim two men as spies secretly, saying, Go, view the land, and Jericho. They went and came into the house of a prostitute whose name was Rahab, and lay there.
The king of Jericho sent to Rahab, saying, Bring forth the men who are come to you, who have entered into your house; for they have come to search out all the land.
and it happened about the time of the shutting of the gate, when it was dark, that the men went out; where the men went I don't know: pursue after them quickly; for you will overtake them.
and she said to the men, I know that Yahweh has given you the land, and that the fear of you is fallen on us, and that all the inhabitants of the land melt 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 to Og, whom you utterly destroyed.
As soon as we had heard it, our hearts did melt, neither did there remain any more spirit in any man, because of you: for Yahweh your God, he is God in heaven above, and on earth beneath.
Now therefore, please swear to me by Yahweh, since I have dealt kindly with you, that you also will deal kindly with my father's house, and give me a true token;
The men said to her, Our life for yours, if you don't utter this our business; and it shall be, when Yahweh gives us the land, that we will deal kindly and truly with you.
She said to them, Get you to the mountain, lest the pursuers light on you; and hide yourselves there three days, until the pursuers be returned: and afterward may you go your way.
Behold, when we come into the land, you shall bind this line of scarlet thread in the window which you did let us down by: and you shall gather to you into the house your father, and your mother, and your brothers, and all your father's household.
It shall be, that whoever shall go out of the doors of your house into the street, his blood shall be on his head, and we shall be guiltless: and whoever shall be with you in the house, his blood shall be on our head, if any hand be on him.
They went, and came to the mountain, and abode there three days, until the pursuers were returned: and the pursuers sought them throughout all the way, but didn't find them.
Then the two men returned, and descended from the mountain, and passed over, and came to Joshua the son of Nun; and they told him all that had happened to them.