Joshua 2:12-14

2:12 So now, promise me this with an oath sworn in the Lord’s name. Because I have shown allegiance to you, show allegiance to my family. Give me a solemn pledge 2:13 that you will spare the lives of my father, mother, brothers, sisters, and all who belong to them, and rescue us from death.” 2:14 The men said to her, “If you die, may we die too! If you do not report what we’ve been up to, then, when the Lord hands the land over to us, we will show unswerving allegiance to you.”

Joshua 2:17-20

2:17 The men said to her, “We are not bound by this oath you made us swear unless the following conditions are met: 2:18 When we invade the land, tie this red rope in the window through which you let us down, and gather together in your house your father, mother, brothers, and all who live in your father’s house. 2:19 Anyone who leaves your house will be responsible for his own death – we are innocent in that case! But if anyone with you in the house is harmed, we will be responsible. 2:20 If you should report what we’ve been up to, we are not bound by this oath you made us swear.”