Deuteronomy 21:22

BSB
If a man has committed a sin worthy of death, and he is executed, and you hang his body on a tree,