Deuteronomy 21:22
If a man has committed a sin worthy of death, and he is executed, and you hang his body on a tree,
Berean Standard Bible
And if a man have committed a sin worthy of death, and he be to be put to death, and thou hang him on a tree:
If a man has committed a sin worthy of death, and he is put to death, and you hang him on a tree,