Deuteronomy 21:22

NASB
“"If a man has committed a sin worthy of death and he is put to death, and you hang him on a tree,”