22-24 Joshua ordered the two men who had spied out the land, “Enter the house of the harlot and rescue the woman and everyone connected with her, just as you promised her.” So the young spies went in and brought out Rahab, her father, mother, and brothers—everyone connected with her. They got the whole family out and gave them a place outside the camp of Israel. But they burned down the city and everything in it, except for the gold and silver and the bronze and iron vessels—all that they put in the treasury of God’s house.
25 But Joshua let Rahab the harlot live—Rahab and her father’s household and everyone connected to her. She is still alive and well in Israel because she hid the agents whom Joshua sent to spy out Jericho.
26 Joshua swore a solemn oath at that time:Cursed before God is the manwho sets out to rebuild this city Jericho.He’ll pay for the foundation with his firstborn son,he’ll pay for the gates with his youngest son.
27 God was with Joshua. He became famous all over the land.