23 you must not leave the body on the tree overnight, but you must be sure to bury him that day, because anyone who is hung on a tree is under God’s curse.a You must not defile the land that the LORD your God is giving you as an inheritance.

  1. a 21:23 LXX; Hebrew anyone who is hanged is under God’s curse; cited in Galatians 3:13

Berean Standard Bible.