14 “Rahab,” the spies answered, “if you keep quiet about what we're doing, we promise to be kind to you when the Lord gives us this land. We pray that the Lord will kill us if we don't keep our promise!”
15 Rahab's house was built into the town wall, and one of the windows in her house faced outside the wall. She gave the spies a rope, showed them the window, and said, “Use this rope to let yourselves down to the ground outside the wall.
16 Then hide in the hills. The men who are looking for you won't be able to find you there. They'll give up and come back after a few days, and you can be on your way.”
17-20 The spies said:You made us promise to let you and your family live. We will keep our promise, but you can't tell anyone why we were here. You must tie this red rope on your window when we attack, and your father and mother, your brothers, and everyone else in your family must be here with you. We'll take the blame if anyone who stays in this house gets hurt. But anyone who leaves your house will be killed, and it won't be our fault.
21 “I'll do exactly what you said,” Rahab promised. Then she sent them on their way and tied the red rope to the window.
22 The spies hid in the hills for three days while the king's soldiers looked for them along the roads. As soon as the soldiers gave up and returned to Jericho,
23 the two spies went down into the Jordan valley and crossed the river. They reported to Joshua and told him everything that had happened.