And Joshua said to the two men who had spied out the land, “Go into the harlot's house, and bring out from it the woman, and all who belong to her, as you swore to her.”
So the king called the Gibeonites. Now the Gibeonites were not of the people of Israel, but of the remnant of the Amorites; although the people of Israel had sworn to spare them, Saul had sought to slay them in his zeal for the people of Israel and Judah.
But the king spared Mephibosheth, the son of Saul's son Jonathan, because of the oath of the Lord which was between them, between David and Jonathan the son of Saul.
As I live, says the Lord God, surely in the place where the king dwells who made him king, whose oath he despised, and whose covenant with him he broke, in Babylon he shall die.
And the city and all that is within 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 that we sent.
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 kindred, and set them outside the camp of Israel.