Yet to the two men who had spied out the land, Joshua said, “Enter the prostitute’s house, and bring out the woman and everyone who belongs to her, as you swore to her.”
So the king summoned the Gibeonites and spoke to them. Now the Gibeonites were not from the Israelites. Instead they were a remnant of the Amorites. Although the Israelites had made a pact with them, Saul attempted to destroy them in his zeal for the people of Israel and Judah.
But the king spared Mephibosheth the son of Jonathan, the son of Saul on account of the oath of the Lord that was between them, between David and Jonathan the son of Saul.
As I live, says the Lord God, surely in the country of the king who made him king, whose oath he despised and whose covenant he broke, in the midst of Babylon he shall die.
The city and all that is in it are dedicated to the Lord for destruction. Only Rahab the prostitute may live, she, and all who are with her in her house, for she hid the messengers we sent.
So the young men who had been spies entered and brought out Rahab, her father, her mother, her brothers, everyone who belonged to her, and her whole extended family. They brought them out and placed them outside of the camp of Israel.