2451 The final fulfillment is mentioned when the Evangelist says, When Jesus had received the vinegar, he said, It is finished. This can be understood to refer to the fulfillment accomplished by Christ by dying: "For it was fitting that the author of our salvation be fulfilled by glory through his passion" [Heb 2:10]. Or, it can be understood to refer to the fulfillment or accomplishment of our sanctification, which was brought about by his passion and cross: "For by a single offering he has perfected for all time those who are sanctified" (Heb 10:14). It can also refer to the fulfillment of t...he scriptures: "Everything that is written of the Son of man by the prophets will be accomplished" (Lk 18:31).
2452 Then the Evangelist describes the death of Christ. First, he mentions the cause of his death, he bowed his head. We should not think that because he gave up his spirit, he bowed his head; rather, because he bowed his head, he gave up his spirit, for the bowing of his head indicated that he died out of obedience: "He became obedient unto death" (Phil 2:8).
Secondly, the Evangelist mentions the power of the one dying, for he gave up his spirit, that is, by his own power: "No one takes it from me, but I lay it down of my own accord" (10:18). As Augustine says, we do not have the power to sleep when we will to, but Christ had the power to die when he willed to.
2453 Some think that the phrase, gave up his spirit, implies that man has two souls: an intellectual soul, which they call the spirit, and an animal soul, that is, a vegetative‑sensitive soul which gives life to the body and is called a soul in the proper sense. So they say that Christ gave up only his intellectual soul. This is false, both because the assertion that there are two souls in man is listed among the errors compiled in the book The Dogmas of the Church, and because if Christ had given up his spirit, and retained a soul, he would not have died. Therefore, since in man the spirit and the soul are the same, we must say that Christ gave up his spirit, that is, his soul.
This also destroys the error of those who say that the human souls of those who have died do not go directly after death to paradise or to hell or to purgatory, but remain in the grave until the day of judgment. For our Lord immediately gave up his spirit to the Father, from which we see that "the souls of the righteous are in the hand of God" (Wis 3:1).
Source: Commentary on John