So the young men who had been spies went in and brought out Rahab and her father and mother and brothers and all who belonged to her. And they brought all her relatives and put them outside the camp of Israel.
23. And the young men that were spies went in, etc God, doubtless, wished those to be safe, whose minds he thus inclined to embrace deliverance. Had it been otherwise, they would have rejected it not less proudly, and with no less scorn than the two sons-in-law of Lot.
The people had religiously observed the orders given them concerning the besieging of Jericho, and now at length Joshua had told them (Jos 6:16), "The Lord hath given you the city, enter and take possession." Accordingly in these verses we have, I. The rules they were to observe in taking possession.
Commenting on Joshua 6:17-27
And the young men that were spies went in, and brought out Rahab,.... Not only went into the city, but into Rahab's house, which they knew again by the scarlet thread hung out at the window of it. But here a difficulty occurs, how they could be said to go into her house, when it was built on the town wall, Jos 2:15; and that was now fallen down flat.