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