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.
24 Then they set fire to the city and burnt it to the ground, along with everything in it, except the things made of gold, silver, bronze, and iron, which they took and put in the Lord's treasury.
25 But Joshua spared the lives of the prostitute Rahab and all her relatives, because she had hidden the two spies that he had sent to Jericho. (Her descendants have lived in Israel to this day.)