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.
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.
Joshua swore a solemn oath at that time: Cursed before God is the man who 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.
God was with Joshua. He became famous all over the land.
Published by permission. Originally published by NavPress in English as THE MESSAGE: The Bible in Contemporary Language copyright 2002 by Eugene Peterson. All rights reserved. (The Message Bible Online)