9 It is no wonder, then, that they could not believe, when such was their pride of will, that, being ignorant of the righteousness of God, they wished to establish their own: as the apostle says of them, “They have not submitted themselves unto the righteousness of God.” For it was not by faith, but as it were by works, that they were puffed up; and blinded by this very self-elation, they stumbled against the stone of stumbling. And so it is said, “they could not,” by which we are to understand that they would not; in the same way as it was said of the Lord our God, “If we believe not, yet He abides faithful, He cannot deny Himself.” It is said of the Omnipotent, “He cannot.” And so, just as it is a commendation of the divine will that the Lord “cannot deny Himself,” that they “could not believe” is a fault chargeable on the will of man.
Source: Tractates on the Gospel of John (New Advent)