As then both he who hanged on a tree, and he who transgresses the Law, is cursed, and as it was necessary for him who is about to relieve from a curse himself to be free from it, but to receive another instead of it, therefore Christ took upon Him such another, and thereby relieved us from the curse. It was like an innocent man's undertaking to die for another sentenced to death, and so rescuing him from punishment. For Christ took upon Him not the curse of transgression [cf. Gal. 3:10, For as many as are of the works of the law are under the curse: for it is written, Cursed is every one that continueth not in all things which are written in the book of the law to do them. (Deut. 27:26)], but the other curse, in order to remove that of others. For, He had done no violence neither was any deceit in His mouth (Is. 53:9; 1 Pet. 2:22). And as by dying He rescued from death those who were dying, so by taking upon Himself the curse, He delivered them from it.
id., Homily III on Galatians
Fifth Century