1303 Next he explains the true reason. And because he had mentioned God's works, first he states the opportunity for manifesting God's works; secondly, the reason for this opportunity or need, night comes; and thirdly, he explains this (v 5).
1304 He says, therefore, this man was born blind that the works of God might be made manifest in him. And it was necessary that they be manifested, for we must work the works of him who sent me, that is, the works entrusted to me by my Father: "I have come to do the will of him who sent me" (6:38). And below he says: "Father, I have accomplished the work... you gave me to do" (17:4). Or, these words can refer to Christ insofar as he is God; and then they indicate the equality of his power with that of the Father. Then the meaning is, we must work the works of him who sent me, that is, the works which I have from the Father. For everything that the Son does, even according to his divine nature, he has from his Father: "The Son can do nothing of his own accord, but only what he sees the Father doing" (5:19).
1305 I say we must work while it is day. Our natural day is produced by the presence of the sun to the earth. But the Sun of Justice or Righteousness is Christ, our God: "But for you who fear my name the sun of righteousness shall rise" (Mal 4:2). Therefore, as long as this Sun is present to us, the works of God can be done in us, for us, and by us. At one time this Sun was physically present to us; and then it was day: "This is the day which the Lord has made; let us rejoice and be glad in it" (Ps 118:24). Therefore, it was fitting to do the works of God. He is also present us by grace; and then it is the day of grace, when it is fitting to do the works of God, while it is day; "The night is far gone, the day is at hand. Let us then cast off the works of darkness and put on the armor of light" (Rom 13:12); "Those who sleep, sleep at night" (1 Thess 5:7).
1306 If the presence of the sun produces day, and its absence night, then, since the sun is always present to itself, it is always day for the sun; and so for the sun, it is always the time for acting and illuminating. But with regard to ourselves, to whom it is sometimes present and at other times absent, it is not always acting and illuminating. In the same way for Christ, the Sun of Justice, it is always day and the time for acting; but not with respect to us, because we are not always able to receive his grace due to some obstacle on our part.
1307 He mentions why this is our opportunity when he says, night comes, when no one can work. Just as there are two kinds of day, so there are two kinds of night. One is by the physical departure of the Sun of Justice, which is what the Apostles experienced when they were demoralized at the time of the passion, when Christ was physically taken from them: "you will all fall away because of me this night" (Mt 26:31). Then it was not the time for acting, but for suffering.
But it is better to say that even when Christ was physically absent because of his ascension, it was still day for the Apostles insofar as the Sun of Justice shone on them, and it was a time for working. And so night in this passage refers to that night which comes from the spiritual separation from the Sun of Justice, that is, by the separation from grace. This night is of two kinds. One is by the loss of actual grace through mortal sin: "Those who sleep, sleep at night" (1 Thess 5:7). When this night comes, no one can perform works that merit eternal life. The other night is total, when one is deprived not only of actual grace by mortal sin, but even of the ability of obtaining grace because of an eternal damnation in hell. Here there is a vast night for those to whom it will be said: "Depart from me, you cursed, into the eternal fire" (Mt 24:41). During this night no one can work, because it is not the time for meriting, but for receiving according to one's merits. Therefore, while you are living, do now what you will want to have done then: "Whatever your hand finds to do, do it with your might; for there is no work or thought of knowledge or wisdom in Sheol, to which you are going" (Eccl 9:10).
Source: Commentary on John