Yehoshua 6:20-26 OJB

20 So HaAm shouted when the Kohanim sounded the shoferot; and it came to pass, when HaAm heard the kol (sound) of the shofar, and HaAm shouted with a teruah gedolah, that the chomah fell down, so that HaAm went up into the Ir, every ish straight before him, and they took the Ir.

21 And they utterly destroyed [devoted as cherem] all that was in the Ir, both ish and isha, na'ar and zaken, and shor, and seh, and chamor, with the edge of the cherev.

22 But Yehoshua had said unto the two anashim that had spied out HaAretz, Go into the bais haisha hazonah, and bring out from there the isha, and all that she hath, just as ye swore unto her.

23 And hane'arim (the young men) that were spies went in, and brought out Rachav, and her av, and her em, and her achim, and all that she had; and they brought out all her mishpechot, and put them outside the Machaneh Yisroel.

24 And they burned the Ir with eish, and all that was therein; only the kesef, and the zahav, and the vessels of nechoshet and of barzel (iron), they put into the Otzar Bais Hashem.

25 And Yehoshua saved Rachav the zonah alive, and her Bais Avi, and all that she had; and she dwelleth in Yisroel even unto this day; because she hid the malachim, which Yehoshua sent to spy out Yericho.

26 And Yehoshua made them take this shevu'ah, saying, Arur (cursed) be the ish before Hashem, that riseth up and rebuildeth this Ir Yericho; he shall lay the foundation thereof with his bechor, and with his tza'ir (youngest son) shall he set up the delatot (gates) thereof [See fulfillment 1Kgs 16:34].