He continues with the effect of this identification, saying, then after the morsel, Satan entered into him. Here we might ask how Satan enters into a person. I answer that there are two ways of understanding Satan's entering into a person. He could enter into a person's body, as in the case of those who are physically molested by a devil. In this way the devil can essentially enter into a person. Or, we might take it to mean that the devil enters into a person's mind, so that the devil would essentially penetrate the mind. However, no one but God can enter into a person in this way. Now the ra...tional soul does not have quantitative dimensions so that something could be in it except what gives it existence, which is there by its own power. Now where the power of God is, there also is his essence: for in God essence and power are the same. So it is clear that God is in the soul essentially. Yet the devil can enter into the human mind in the sense that a person who has been seduced by him follows him in doing evil; this is an effect of the devil's malice, which someone has loved.
It was said above: "And during supper, when the devil had already put it into the heart of Judas Iscariot, Simon's son, to betray him." But now he says, Satan entered into him. So there seems to be a difference between "put into" and "enter into." I say that this was not said to indicate a difference, but to note a growth in evil. The devil is said to put something evil into a person's heart when the person yields to him and assents to the evil, but with some fear as to whether he ought to do this or not. But he enters into a person's heart when one totally gives himself to following his suggestions and offers no resistance at all. Thus Satan first put the plan to deceive Christ into Judas, and then he entered into to possess him more completely and to lead him to accomplish the evil.
One might ask why Luke (22:3) says that Satan entered into Judas even before he received the morsel. This seems to conflict with what John says here, that after the morsel, Satan entered into him. I answer that in the first case Satan entered into him to plan the betrayal, but now he entered into him to accomplish and complete it.
Was it wrong to give Judas this morsel, for after that Satan would enter into him? I say, no. Judas himself was evil, and used a good thing in an evil way. In a similar way, when someone unworthily receives the Eucharist, which is good and even the best of things, he receives it in an evil way and it turns out to be evil for him, because he "eats and drinks judgment upon himself" (1 Cor 11:29).
We now see the betrayal itself, after it was predicted. First, we see that Judas was allowed to do what was predicted; and secondly, how it was done (v 30). John does three things with the first: first, he gives the words of our Lord, allowing Judas to act; secondly, he mentions that the meaning of these words was not clear; and thirdly, he states how the Apostles understood them.
Jesus said to him, "What you are going to do, do quickly." This is not a command or a counsel, since sin cannot be commanded or counseled, because "The command of the Lord is pure, enlightening the eyes" (Ps 19:8). It is, rather, a permission. As we have seen, the devil had put it into the heart of Judas to betray Jesus, and he had already made arrangements with the chief priests. Yet he could not carry this out unless Christ himself gave permission, because "No one takes it from me, but I lay it down of my own accord" (10:18); "He was offered because it was his own will" (Is 53:7).
These words also reprimand the evil act of betrayal, and imply that while Christ was conferring benefits on him, Judas was planning his death: "But now I rebuke you, and lay the charge before you" (Ps 50:21). As Augustine says, they are also the words of one who eagerly desires to carry out the work of our redemption. Still, Christ was not commanding the crime, but predicting it. He was not so much seeking the ruin of the one who betrayed him as he was hurrying to become the salvation of believers: "I have a baptism to be baptized with; and how I am constrained until it is accomplished!" (Lk 12:50).
Source: Commentary on John