Then when he says, Whoever speaks on his own seeks his own glory, he proves the same thing from his intention. And he presents two intentions through which we can recognize the two sources of a doctrine. Some are said to speak on their own, and others not on their own. Now whoever strives to speak the truth does not speak on his own. All our knowledge of the truth is from another: either from instruction, as from a teacher; or from revelation, as from God; or by a process of discovery, as from things themselves, for "the invisible things of God are clearly known by the things that have been ma...de" (Rom 1:20). Consequently, in whatever way a person acquires his knowledge, he does not acquire it on his own. That person speaks on his own who takes what he says neither from things themselves, nor from any human teaching, but from his own heart: "They proclaim a vision taken out of their own hearts" (Jer 23:16); "Woe to those foolish prophets who prophesy out of their own hearts" (Ez 13:3). Accordingly, when a person devises a doctrine on his own he does it for the sake of human glory: for, as we see from Chrysostom, a person who wishes to present his own private doctrine does so for no other purpose than to acquire glory. And this is what our Lord says, proving that his doctrine is from God: Whoever speaks on his own, about a certain knowledge of the truth, which is really from another, seeks his own glory. It is for this reason, and because of pride, that various heresies and false opinions have arisen. And this is a characteristic of the antichrist "who opposes and is exalted above all that is called God, or is worshipped" (2 Thes 2:4).
But the one who seeks the glory of him who sent him, as I do—"I do not seek my own glory" (below 8:50)—is truthful, and there is no injustice in him. I am truthful because my doctrine contains the truth; there is no injustice in me because I do not appropriate the glory of another. As Augustine says: "He gave us a magnificent example of humility when, in the form of a man, he sought the glory of the Father, and not his own. O man, you should do the same! When you do something good, you seek your glory; when you do something evil, you insult God." It is obvious that he was not looking for his own glory, because if he had not been an enemy of the chief priests, he would not have been persecuted by them. So Christ, and everyone who is looking for the glory of God, has knowledge in his intellect, "Master, we know that you are truthful" (Mt 22:16): thus he says, he is truthful. And he has the correct intention in his will: thus he says, and there is no injustice in him. For a person is unjust when he takes for himself what belongs to another; but glory is proper to God alone; therefore, he who seeks glory for himself is unjust.
Source: Commentary on John