The Son of man indeed goeth, as it is written of him. What are you saying, that you will be betrayed? He says, the Son of man goeth, namely, of his own will. He was offered because it was his own will, as it is written, Isaiah 53:7. Hence the passion was foretold by the prophets, as we read in Luke 24:27: and beginning at Moses and all the prophets, he expounded to them in all the Scriptures the things that were concerning him. And so nothing harms the Son of man, because what happens is what he himself ordained. But someone will say: if he goes of his own will, then it should not be imputed t...o Judas. It should be said that on the contrary, because Judas did this with a wicked will, what the Son did willingly. Therefore the punishment follows: but woe to that man by whom the Son of man shall be betrayed. As above, 17:7: it must needs be that scandals come; but woe to that man by whom the scandal cometh. And the greatness of the punishment is touched upon: it were better for him, if that man had not been born. From this an occasion for error follows. For some say that no punishment is inflicted on what does not exist, and therefore they say that it is simply better not to have existed, which is contrary to the Apostle, Romans 9. Hence, according to Jerome, it should be said that he speaks according to the common way of speaking, i.e., the lesser harm, i.e., he feels a greater torment than if he had not been born. And to support this, Ecclesiastes 4:2 seems relevant: I praised the dead rather than the living. And this is against Augustine in the book On Free Will. What does not exist cannot be chosen. Likewise, what we choose is closer to happiness. But what does not exist is not close to happiness. What then should be said? Can someone choose not to exist rather than to exist in punishment? Therefore it should be said that non-existence can be taken in two ways: either in itself or by comparison with something else. In itself, I say that it is not eligible, as Augustine says, but by comparison with something else it is eligible, as Jerome says. Because this is not something in nature, but is apprehended by the mind as something, like not sitting. But choice proceeds from what is apprehended: therefore being free of evil is apprehended as a good. When therefore one chooses it not for itself, but insofar as it excludes evil, one so chooses, as the Philosopher says. Through this the response to the second argument is clear. He says, then, that what more removes one from evil is taken as closer to happiness; hence for a man with a fever, to be free of the fever seems to be happiness, because under miseries it seems better not to exist; hence it is better not to exist than to exist under miseries.
Source: Commentary on Matthew