23 So the young men who had done the spying went in and brought out Rahab, her father and mother, her brothers and sisters and all who belonged to her. They brought out her entire family and put them in a place outside the camp of Israel.
24 Then they burned the whole 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 But Joshua spared Rahab the prostitute, with her family and all who belonged to her, because she hid the men Joshua had sent as spies to Jericho—and she lives among the Israelites to this day.
26 At that time Joshua pronounced this solemn oath: “Cursed before the Lord is the one who undertakes to rebuild this city, Jericho: “At the cost of his firstborn son he will lay its foundations; at the cost of his youngest he will set up its gates.”
27 So the Lord was with Joshua, and his fame spread throughout the land.