2 Corinthians 5:21

5:21 God made the one who did not know sin to be sin for us, so that in him we would become the righteousness of God.

Galatians 3:13

3:13 Christ redeemed us from the curse of the law by becoming a curse for us (because it is written, “Cursed is everyone who hangs on a tree”)