Joshua said to the two men who had spied out the land, Go into the prostitute's house, and bring out there the woman, and all that she has, as you swore to her.
      I. The rules they were to observe in taking possession. God gives it to them, and therefore may direct it to what uses and intents, and clog it with what provisos and limitations he thinks fit. It is given to them to be devoted to God, as the first and perhaps the worst of all the cities of Canaan. 1. The city must be burnt, and all the lives in it sacrificed without mercy to the justice of God. All this they knew was included in those words, Joshua 6:17; Joshua 6:17. The city shall be a cherem, a devoted thing, at and all therein, to the Lord. No life in it might be ransomed upon any terms; they must all be surely put to death,Leviticus 27:29. So he appoints from whom as creatures they had received their lives, and to whom as sinners they had forfeited them; and who may dispute his sentence? Is God unrighteous, who thus taketh vengeance? God forbid we should entertain such a thought! There was more of God seen in the taking of Jericho than of any other of the cities of Canaan, and therefore that must be more than any other devoted to him. And the severe usage of this city would strike a terror upon all the rest and melt their hearts yet more before Israel. Only, when this severity is ordered, Rahab and her family are excepted: She shall live and all that are with her. She had distinguished herself from her neighbours by the kindness she showed to Israel, and therefore shall be distinguished from them by the speedy return of that kindness. 2. All the treasure of it, the money and plate and valuable goods, must be consecrated to the service of the tabernacle, and brought into the stock of dedicated things, the Jews say because the city was taken on the sabbath day. Thus God would be honoured by the beautifying and enriching of his tabernacle; thus preparation was made for the extraordinary expenses of his service; and thus the Israelites were taught not to set their hearts upon worldly wealth nor to aim at heaping up abundance of it for themselves. God had promised them a land flowing with milk and honey, not a land abounding with silver and gold; for he would have them live comfortably in it, that they might serve him cheerfully, but not covet either to trade with distant countries or to hoard for after times. He would likewise have them to reckon themselves enriched in the enriching of the tabernacle, and to think that which was laid up in God's house as truly their honour and wealth as if it had been laid up in their own. 3. A particular caution is given them to take heed of meddling with the forbidden spoil; for what was devoted to God, if they offered to appropriate it to their own use, would prove accursed to them; therefore (Joshua 6:18; Joshua 6:18) "In any wise keep yourselves from the accursed thing; you will find yourselves inclined to reach towards it, but check yourselves, and frighten yourselves from having any thing to do with it." He speaks as if he foresaw the sin of Achan, which we have an account of in the next chapter, when he gives this reason for the caution, lest you make the camp of Israel a curse and trouble it, as it proved that Achan did.