Joshua 2:18-19
18 Behold, when we come into the land, thou shalt bind this line of scarlet thread in the window which thou didst let us down by: and thou shalt bringc thy father, and thy mother, and thy brethren, and all thy father's household, home unto thee.
19 And it shall be, that whosoever shall go out of the doors of thy house into the street, his blood shall be upon his head, and we will be guiltless: and whosoever shall be with thee in the house, his blood shall be on our head, if any hand be upon him.
Jos. 2:18, 19. Faith is made the condition of Rahab's kindred, as well as her own. They were to retire to Rahab's house, and not stir out, which they would not have done unless they had believed that God would indeed deliver that city and Land into the hand of the children of Israel as He had said, and would destroy their enemies and save their friends. As in the old world they that believed that God would destroy the world as he had said, fled to the ark; and in Egypt they that believed that God would accomplish what He had said concerning the hail and fire, retired to their houses beforehand and were saved. And in Jerusalem they that believed what Christ had said about Jerusalem's destruction fled out at the signal that Christ gave them, and were saved. And in Jerusalem's first destruction they that believed that God would destroy the city, as he had said by the prophet Jeremiah, went and submitted themselves to the king of Babylon, and were saved. Rahab, as she was the [type of the] mother of Christ, so her house in this case was a type of the Church, or of the house, the habitation and fortress of the Church, Christ Jesus, where the righteous dwell in safety, and where they must hide themselves till the indignation be overpast, and from whence they must not depart, but must be found in Him at the hour when judgment comes, in order to their being saved. Verse 20. It was needful that Rahab should keep counsel in this matter, lest they should be betrayed when they were gone, or lest others should tie scarlet lines in their windows.