Joshua son of Nun and all the people were camped at Acacia. Joshua sent out two spies. No one knew that Joshua sent out these men. Joshua said to them, "Go and look at the land, especially the city of Jericho." So the men went to the city of Jericho and stayed at the house of a prostitute named Rahab.
So the king of Jericho sent this message to Rahab: "Do not hide the men who came and stayed in your house. Bring them out. They have come to spy on our country."
So the king's men went out of the city, and the people closed the city gates. The king's men went to look for the two men from Israel. They went to the Jordan River and looked at all the places where people cross the river.
We are afraid because we have heard about the ways that the Lord helped you. We heard that he dried up the Red Sea when you came out of Egypt. We also heard what you did to the two Amorite kings, Sihon and Og. We heard how you destroyed those kings living east of the Jordan River.
When we heard about this, we were very afraid. And now, not one of our men is brave enough to fight you, because the Lord your God rules the heavens above and the earth below!
So now, I want you to make a promise to me. I was kind to you and helped you. So promise me before the Lord that you will be kind to my family. Please tell me that you will do this.
Tell me that you will allow my family to live— my father, mother, brothers, sisters, and all of their families. Promise me that you will save us from death."
The men agreed and said, "We will trade our lives for yours. Don't tell anyone what we are doing. Then, when the Lord gives us the land, we will be kind to you. You can trust us."
Then she said to them, "Go into the hills so that the king's men will not accidentally find you. Hide there for three days. After the king's men come back, you can go on your way."
When we come back to this land, you must tie in your window this red rope you are using to help us escape. You must bring your father, your mother, your brothers, and all your family into your house with you.
We will protect everyone who stays in this house. If anyone in your house is hurt, we will be responsible. But if they go out of your house and are killed, we will not be responsible. It will be their own fault.
The men left her house and went into the hills. They stayed there for three days. The king's men looked all along the road. After three days, they stopped looking and went back to the city.