Deuteronomy 21:23
23 phis body shall not remain all night on the tree, but you shall bury him the same day, for qa hanged man is cursed by God. rYou shall not defile your land that the Lord your God is giving you for an inheritance.
Galatians 3:13–14
13 Christ sredeemed us from the curse of the law by becoming a curse for us—for it is written, t“Cursed is everyone who is hanged uon a tree”— 14 so that in Christ Jesus the blessing of Abraham might vcome to the Gentiles, so that wwe might receive xthe promised Spirit1 through faith.