22 Joshua said to the two men who had scouted the land, “Go to the prostitute’s house and bring the woman out of there, and all who are with her, just as you promised her.”
23 So the young men who had scouted went in and brought out Rahab and her father, mother, brothers, and all who belonged to her. They brought out her whole family and settled them outside the camp of Israel.
24 They burned up the city and everything in it, but they put the silver and gold and the articles of bronze and iron into the treasury of the Lord’s house.
25 However, Joshua spared Rahab the prostitute, her father’s household, and all who belonged to her, because she hid the men Joshua had sent to spy on Jericho, and she lives in Israel to this day.
26 At that time Joshua imposed this curse:The man who undertakesthe rebuilding of this city, Jericho,is cursed before the Lord. He will lay its foundationat the cost of his firstborn;he will set up its gatesat the cost of his youngest.
27 And the Lord was with Joshua, and his fame spread throughout the land.