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.
24 “We're sure the Lord has given us the whole country,” they said. “The people there shake with fear every time they think of us.”