Joshua 6:21-27 New Revised Standard Version (NRSV)
21 Then they devoted to destruction by the edge of the sword all in the city, both men and women, young and old, oxen, sheep, and donkeys.
22 Joshua said to the two men who had spied out the land, “Go into the prostitute’s house, and bring the woman out of it and all who belong to her, as you swore to her.” 23 So the young men who had been spies went in and brought Rahab out, along with her father, her mother, her brothers, and all who belonged to her—they brought all her kindred out—and set them outside the camp of Israel. 24 They burned down the city, and everything in it; only the silver and gold, and the vessels of bronze and iron, they put into the treasury of the house of the Lord. 25 But Rahab the prostitute, with her family and all who belonged to her, Joshua spared. Her family[a] has lived in Israel ever since. For she hid the messengers whom Joshua sent to spy out Jericho.
26 Joshua then pronounced this oath, saying,
“Cursed before the Lord be anyone who tries
27 So the Lord was with Joshua; and his fame was in all the land.