17 Jericho and everything in it must be completely destroyed 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.
Matthew Henry's Commentary on Joshua 6:17-27
Commentary on Joshua 6:17-27
(Read Joshua 6:17-27)
Jericho was to be a solemn and awful sacrifice to the justice of God, upon those who had filled up the measure of their sins. So He appoints, from whom, as creatures, they received their lives, and to whom, as sinners, they had forfeited them. Rahab perished not with them that believed not, Acts 14:31. She, and they with her, were plucked as brands from the burning. With Rahab, or with the men of Jericho; our portion must be assigned, as we posses or disregard the sign of salvation; even faith in Christ, which worketh by love. Let us remember what depends upon our choice, and let us choose accordingly. God shows the weight of a Divine curse; where it rests there is no getting from under it; for it brings ruin without remedy.