And יהוה said to Mosheh, “Take all the leaders of the people and hang them up before יהוה, before the sun, so that the burning displeasure of יהוה turns away from Yisra’ĕ
you shall certainly smite the inhabitants of that city with the edge of the sword, putting it under the ban, and all that is in it and its livestock, with the edge of the sword.
“And none of that which is put under the ban is to cling to your hand, so that יהוה turns from the fierceness of His displeasure and shall show you compassion, love you and increase you, as He swore to your fathers,
“Let his body not remain overnight on the tree, for you shall certainly bury him the same day – for he who is hanged is accursed of Elohim – so that you do not defile the land which יהוה your Elohim is giving you as an inheritance.