17 The city and everything in it must be totally destroyed as an offering to the Lord. Only the prostitute Rahab and her household will be spared, because she hid our spies.
18 But you are not to take anything that is to be destroyed; if you do, you will bring trouble and destruction on the Israelite camp.
19 Everything made of silver, gold, bronze, or iron is set apart for the Lord. It is to be put in the Lord's treasury.”
20 So the priests blew the trumpets. As soon as the people heard it, they gave a loud shout, and the walls collapsed. Then all the army went straight up the hill into the city and captured it.
21 With their swords they killed everyone in the city, men and women, young and old. They also killed the cattle, sheep, and donkeys.
22 Joshua then told the two men who had served as spies, “Go into the prostitute's house and bring her and her family out, as you promised her.”
23 So they went and brought Rahab out, along with her father and mother, her brothers, and the rest of her family. They took them all, family and slaves, to safety near the Israelite camp.