The midwives answered Pharaoh, Because the Hebrew women are not like the Egyptian women; they are vigorous and quickly delivered; their babies are born before the midwife comes to them.
So also with Rahab the harlot–was she not shown to be justified (pronounced righteous before God) by [good] deeds when she took in the scouts (spies) and sent them away by a different route? [Josh. 2:1-21.]
And the king of Jericho sent to Rahab, saying, Bring forth the men who have come to you, who entered your house, for they have come to search out the land.
And the city and all that is in it shall be devoted to the Lord [for destruction]; only Rahab the harlot and all who are with her in her house shall live, because she hid the messengers whom we sent.
So Joshua saved Rahab the harlot, with her father's household and all that she had; and she lives in Israel even to this day, because she hid the messengers whom Joshua sent to spy out Jericho.