21 And they utterly destroyed by the edge of the sword all who were in the city, both men and women, young and old, ox, sheep, and donkey.
22 Then Joshua said to the two men who spied on the land, “Go to the prostitute’s house and bring out from there the woman and all who belong to her, just as you swore to her.”
23 So the young men who were spies went and brought Rahab and her father and mother, her brothers, and all who were with her. And they brought all her family out and set them outside the camp of Israel.
24 And they burned the city and all that was in it with fire; they put only the silver and gold, and the items of copper and iron, into the treasury of the house of Yahweh.
25 But Joshua spared Rahab the prostitute and her family and all who were with her, and she has lived in the midst of Israel until this day, because she hid the messengers whom Joshua sent to spy out Jericho.
26 And Joshua swore at that time, saying, “Cursed is anyone before Yahweh who gets up and builds Jericho, this city. At the cost of his firstborn he will lay its foundation, and at the cost of his youngest he will set up its gates.”
27 So Yahweh was with Joshua, and his fame was in all the land.