New Living Translation (NLT)
17 Jericho and everything in it must be completely destroyed[a] as an offering to the Lord. Only Rahab the prostitute and the others in her house will be spared, for she protected our spies.
18 “Do not take any of the things set apart for destruction, or you yourselves will be completely destroyed, and you will bring trouble on the camp of Israel. 19 Everything made from silver, gold, bronze, or iron is sacred to the Lord and must be brought into his treasury.”
20 When the people heard the sound of the rams’ horns, they shouted as loud as they could. Suddenly, the walls of Jericho collapsed, and the Israelites charged straight into the town and captured it. 21 They completely destroyed everything in it with their swords—men and women, young and old, cattle, sheep, goats, and donkeys.
22 Meanwhile, Joshua said to the two spies, “Keep your promise. Go to the prostitute’s house and bring her out, along with all her family.”
23 The men who had been spies went in and brought out Rahab, her father, mother, brothers, and all the other relatives who were with her. They moved her whole family to a safe place near the camp of Israel.
24 Then the Israelites burned the town and everything in it. Only the things made from silver, gold, bronze, or iron were kept for the treasury of the Lord’s house. 25 So Joshua spared Rahab the prostitute and her relatives who were with her in the house, because she had hidden the spies Joshua sent to Jericho. And she lives among the Israelites to this day.
26 At that time Joshua invoked this curse:
“May the curse of the Lord fall on anyone
who tries to rebuild the town of Jericho.
At the cost of his firstborn son,
he will lay its foundation.
At the cost of his youngest son,
he will set up its gates.”
27 So the Lord was with Joshua, and his reputation spread throughout the land.
Joshua 6:17 – 27