17 The city and all that is in it shall be devoted to the Lord for destruction. Only Rahab the prostitute and all who are with her in her house shall live because she hid the messengers we sent. 18 As for you, keep away from the things devoted to destruction, so as not to covet and take any of the devoted things and make the camp of Israel an object for destruction, bringing trouble upon it. 19 But all silver and gold, and vessels of bronze and iron, are sacred to the Lord; they shall go into the treasury of the Lord." 20 So the people shouted, and the trumpets were blown. As soon as the people heard the sound of the trumpets, they raised a great shout, and the wall fell down flat; so the people charged straight ahead into the city and captured it. 21 Then they devoted to destruction by the edge of the sword all in the city, both men and women, young and old, oxen, sheep, and donkeys. 22 Joshua said to the two men who had spied out the land, "Go into the prostitute's house, and bring the woman out of it and all who belong to her, as you swore to her." 23 So the young men who had been spies went in and brought Rahab out, along with her father, her mother, her brothers, and all who belonged to her-they brought all her kindred out-and set them outside the camp of Israel. 24 They burned down the city, and everything in it; only the silver and gold, and the vessels of bronze and iron, they put into the treasury of the house of the Lord. 25 But Rahab the prostitute, with her family and all who belonged to her, Joshua spared. Her family has lived in Israel ever since. For she hid the messengers whom Joshua sent to spy out Jericho. 26 Joshua then pronounced this oath, saying, "Cursed before the Lord be anyone who tries to build this city-this Jericho! At the cost of his firstborn he shall lay its foundation, and at the cost of his youngest he shall set up its gates!" 27 So the Lord was with Joshua; and his fame was in all 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.