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.
They said, When we take the city, you leave this scarlet rope out, and everyone who is within the house will be saved. If any of your family goes out into the streets, then they're taking their lives into their own hands, they'll be slain with the rest of the people. But in order that they might be spared and be saved, they've got to stay in the house ( Joshua 2:18-20 ).