Then you are to investigate, search out and inquire thoroughly. If indeed it is true and the matter certain that this abomination has been done in your midst,
you will surely strike down the inhabitants of that city with the edge of the sword, utterly destroying it and all that is in it and its livestock with the sword.
and Adonai your God gives them over to you and you strike them down, then you are to utterly destroy them. You are to make no covenant with them and show no mercy to them.
But the city will be under the ban of destruction—it and all that is in it belong to Adonai. Only Rahab the harlot will live, she and all who are with her in the house, because she hid the scouts that we sent.
At that time Joshua made an oath saying: “Cursed before Adonai is the man who rises up and rebuilds this city, Jericho! On his firstborn he will lay its foundation, and on his youngest son he will set up its gates.”
So she made a vow and said, “Adonai-Tzva’ot, if You will indeed look upon the affliction of Your handmaid, remember me and not forget Your handmaid, but grant Your handmaid a son, then I will give him to Adonai all the days of his life and no razor will ever touch his head.”