Joshua 2:11-18 NIV
When we heard of it, our hearts melted in fear and everyone’s courage failed because of you, for the LORD your God is God in heaven above and on the earth below.
“Now then, please swear to me by the LORD that you will show kindness to my family, because I have shown kindness to you. Give me a sure sign that you will spare the lives of my father and mother, my brothers and sisters, and all who belong to them—and that you will save us from death.”
“Our lives for your lives!” the men assured her. “If you don’t tell what we are doing, we will treat you kindly and faithfully when the LORD gives us the land.”
So she let them down by a rope through the window, for the house she lived in was part of the city wall. She said to them, “Go to the hills so the pursuers will not find you. Hide yourselves there three days until they return, and then go on your way.”
Now the men had said to her, “This oath you made us swear will not be binding on us unless, when we enter the land, you have tied this scarlet cord in the window through which you let us down, and unless you have brought your father and mother, your brothers and all your family into your house.
NIV: New International Version