The Messiah would become a curse for the redemption of man.
OT Prophecy NT Fulfillment
Deuteronomy 21:23
His body shall not remain all night upon the tree, but thou shalt in any wise bury him that day; (for he that is hanged is accursed of God;) that thy land be not defiled, which the LORD thy God giveth thee for an inheritance.
Galatians 3:13
Christ hath redeemed us from the curse of the law, being made a curse for us: for it is written, Cursed is every one that hangeth on a tree.
Tanakh – Devarim – Deuteronomy 21:23
His body shall not remain all night upon the tree, but thou shalt surely bury him the same day; for he that is hanged is a reproach unto G‑d; that thou defile not thy land which HaShem thy G‑d giveth thee for an inheritance.
Hebrew OT – Deuteronomy 21:23
[21:23] לֹא־תָלִין נִבְלָתוֹ עַל־הָעֵץ
כִּי־קָבוֹר תִּקְבְּרֶנּוּ בַּיּוֹם הַהוּא
כִּי־קִלְלַת אֱלֹהִים תָּלוּי
וְלֹא תְטַמֵּא אֶת־אַדְמָתְךָ אֲשֶׁר יְהוָה אֱלֹהֶיךָ נֹתֵן לְךָ נַחֲלָה