Then Joshua said to the two men who had spied out the land: “Go into the harlot’s house and bring the woman and all who belong to her, as you swore to her.”
So the king summoned the Gibeonites and spoke to them. (Now the Gibeonites were not of Bnei-Yisrael but a remnant of the Amorites; however, Bnei-Yisrael had sworn a covenant with them. Yet Saul had tried to eradicate them in his zeal for Bnei-Yisrael and Judah.)
As I live”—it is a declaration of Adonai—“surely in the place of the king who put him on the throne, whose oath he despised and whose covenant he broke, within Babylon he will die.
But the city will be under the ban of destruction—it and all that is in it belong to Adonai. Only Rahab the harlot will live, she and all who are with her in the house, because she hid the scouts that we sent.
So the young spies went in and brought out Rahab, her father, her mother, her relatives and all who belonged to her. All her relatives they brought out and put them outside the camp of Israel.