Deuteronomy 21:22

NLT
New Living Translation

22“If someone has committed a crime worthy of death and is executed and hung on a tree,#  Or impaled on a pole; similarly in 21:23.