2 The passage read today has spoken to us of the witness of the Lord, that He does not hold the witness of men necessary, but has a greater witness than men; and He has told us what this witness is: “The works,” says He, “which I do bear witness of me.” Then He added, “And the Father that sent me bears witness of me.” The very works also which He does, He says that He has received from the Father. The works, therefore, bear witness, the Father bears witness. Has John borne no witness?
He did clearly bear witness, but as a lamp; not to satisfy friends, but to confound enemies: for it had been predicted long before by the person of the Father, “I have prepared a lamp for mine Anointed: I will clothe His enemies with confusion; but upon Him shall flourish my sanctification.” Be it that you were left in the dark in the night-time, you directed your attention to the lamp, you admired the lamp, and exulted at its light. But that lamp says that there is a sun, in which you ought to exult; and though it burns in the night, it bids you to be looking out for the day.
Therefore it is not the case that there was no need of that man's testimony. For wherefore was he sent, if there was no need of him? But, on the contrary, lest man should stay at the lamp, and think the light of the lamp to be sufficient for him, therefore the Lord neither says that this lamp had been superfluous, nor yet does He say that you ought to stay at the lamp. The Scripture of God utters another testimony: there undoubtedly God has borne witness to His Son, and in that Scripture the Jews had placed their hope,— namely, in the law of God, given by Moses His servant.
“Search the Scripture,” says He, “in which you think you have eternal life: the same bears witness of me; and you will not come to me that you may have life.” Why do ye think that in the Scripture you have eternal life? Ask itself to whom does it bear witness, and understand what is eternal life. And because for the sake of Moses they were willing to reject Christ, as an adversary to the ordinances and precepts of Moses, He convicts those same men as by another lamp.
Source: Tractates on the Gospel of John (New Advent)