The manner in which these goods are caused is also mentioned when he says, "who gave himself for our sins." Here is mentioned, first of all, the efficient cause, which is the death of Christ. Referring to this, he says "who gave himself for our sins." As if to say: Christ is the author of grace and peace, because He gave Himself to death and endured the cross. Hence the very death of Christ is the efficient cause of grace: "You have been justified freely by his grace" (Rom 3:24); "Making peace as to the things that are in heaven" (Col 1:20). And he says, first of all, "who gave himself," i.e.,... offered Himself voluntarily. "Christ also hath loved us and hath delivered Himself for us" (Eph 5:2); "That He might taste death for all" (Heb 2:9); "Who gave Himself for us" (Tit 2:14). From this, the Apostle plainly is arguing against them that if the death of Christ is the sufficient cause of our salvation, and if grace is conferred in the sacraments of the New Testament, which have their efficacy from the passion of Christ, then it is superfluous to observe, along with the New Testament, the rituals of the Old Law in which grace is not conferred nor salvation acquired, because the Law has led no one to perfection, as is had in Hebrews (7:19).
Secondly, the end and utility of those goods is mentioned—in other words, the final cause. And it is twofold; one is that we be set free of past sins; and as to this he says, "for our sins," namely, that past sins be removed and atoned for, which is the beginning of our salvation. "He loved us and washed us from our sins in his own blood" (Rev 1:5). The other end is that He might free us from the power of death; and as to this he says, "that he might deliver us from this present wicked world." "He delivered us from the power of darkness" (Col 1:13). Herein he mentions three things: namely, to deliver us from the present, and the world, and wicked. To deliver us from the present by drawing us to eternal things through desire and hope; from the world, i.e., from being conformed to this world which allures us: "And be not conformed to this world" (Rom 12:2); wicked, leading us back to the truth of justice. And it is called a wicked world, not because of its nature, for it was created good by God, but because of the evils perpetrated in it, as is said in Ephesians (5:16): "The days are evil." And "Jacob said: the days of my pilgrimage are a hundred and thirty years, few and evil" (Gen 47:9).
Now although these things come to us through Christ, God the Father is not excluded. Hence there is mentioned in the third place, acceptance of the divine will. Therefore he says, "according to the will of God and our Father." Of the Father by nature, I say, of Christ Who proceeds from eternity as the Word: "This day have I begotten Thee" (Ps 2:7); "In the beginning was the Word, and the Word was with God, and the Word was God" (Jn 1:1). Also of our Father by adoption: "He gave them power to be made the sons of God" (Jn 1:12). In the first rendering, "God the Father" is taken for the sole person of the Father; in the second, for the whole Trinity.
Source: Commentary on Galatians