18
But keep away from the devoted things,4 so that you will not bring about your own destruction by taking any of them. Otherwise you will make the camp of Israel liable to destruction5 and bring trouble6 on it.

References for Joshua 6:22

23
So the young men who had done the spying went in and brought out Rahab, her father and mother and brothers and all who belonged to her.16 They brought out her entire family and put them in a place outside the camp of Israel.

References for Joshua 6:24

25
But Joshua spared20 Rahab the prostitute,21 with her family and all who belonged to her, because she hid the men Joshua had sent as spies to Jericho22--and she lives among the Israelites to this day.

References for Joshua 6:25

26
At that time Joshua pronounced this solemn oath:23 "Cursed24 before the LORD is the man who undertakes to rebuild this city, Jericho: "At the cost of his firstborn son will he lay its foundations; at the cost of his youngest will he set up its gates."25