Deuteronomy 21:22

Amplified Bible (AMP)
“And if a man has committed a sin worthy of death, and he is put to death and [[c]afterward] you hang him on a tree [as a public example],

Read Deuteronomy 21:22 in other translations