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.
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 ).