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.
Then Joshua son of Nun sent two men secretly from Shittim as spies, saying, “Go, view the land, especially Jericho.” So they went, and entered the house of a prostitute whose name was Rahab, and spent the night there.
if we invade the land and you do not tie this crimson cord in the window through which you let us down, and you do not gather into your house your father and mother, your brothers, and all your family.
(Joshua set up twelve stones in the middle of the Jordan, in the place where the feet of the priests bearing the ark of the covenant had stood; and they are there to this day.)