Commentaries
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, Heb 11:31. All her kindred were saved with her; thus faith in Christ brings salvation to the house, Ac 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.
Jos 6:22-25. Rahab Is Saved.
22, 23. Joshua had said … Go into the harlot's house, and bring out thence the woman, and all that she hath—It is evident that the town walls were not demolished universally, at least all at once, for Rahab's house was allowed to stand until her relatives were rescued according to promise.