Joshua told the spies to go to Rahab's house and bring out her family and belongings. The spies did as they were told, as they kept the oath. Joshua saved Rahab's life, and she went to live in Israel.