Deuteronomy 21:22

21:22 If a man has committed a sin worthy of death, and he is put to death, and you hang him on a tree,