They completely destroyed everything in it with their swords—men and women, young and old, cattle, sheep, goats, and donkeys.
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.”
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.
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.
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.
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.”
So the LORD was with Joshua, and his reputation spread throughout the land.