Our Lord accepts their acknowledgment, You call me Teacher and Lord. He mentions what they acknowledge; and then he approves of it.
As to the first, we should note that in 1 Corinthians (1:24), the Apostle says two things about Christ: he is the power of God and the wisdom of God. As the power of God, he rules all things, for as Ambrose says, the word "Lord" is a name of power. As the wisdom of God he teaches everyone. Thus the disciples called him Lord - "Lord, to whom shall we go?" (6:68) - and Teacher - "Rabbi, eat" (4:31). And with good reason. For he is the Lord, who alone creates and re...stores: "Know that the Lord is God!" (Ps 100:3). And he is the only Teacher who teaches from within: "You have one master, the Christ" (Mt 23:10).
When he says, and you are right, he approves their acknowledgement. Here we should note that something which is spoken can be commendable for two reasons. First, because what is said is in harmony with the thing about which it is said; and this happens if what is said is true, for if it is false, it does not harmonize with the thing. So it is well said: "Therefore, putting away falsehood, let every one speak the truth" (Eph 4:25). For lies must be avoided to such an extent that even if it seems that they lead to the glory of God, they should not be spoken. In reference to this point he says, and you are right; because what you say is true, for it applies to me, for so I am, Teacher and Lord. I am the Teacher because of the wisdom I teach by my words; I am the Lord because of the power I show in my miracles.
Secondly, what is spoken can be commendable because it is in harmony with the person speaking. There are some who call Christ Teacher and Lord, but it is not in harmony with themselves, for they do not defer to the teaching and commands of God; and such people do not speak rightly. So to those who say, "Lord, Lord, open to us," the answer is given, "Truly, I say to you, I do not know you" (Mt 25:11), because they are not speaking from their hearts, but only with their lips. But the apostles spoke rightly, because it was in agreement with themselves. And so Christ replied, and you are right, that is, you are speaking the truth, for so I am, that is, for you I am the Teacher and the Lord, for you listen to me as Teacher - "To whom shall we go? You have the words of eternal life" (6:6) - and you follow me as Lord - "Lo, we have left everything and followed you" (Mt 19:27).
This seems to conflict with the statement in Proverbs (27:2): "Let another praise you, and not your own mouth." It seems, therefore, that it was not right for our Lord to praise himself. Augustine answers this in two ways. First, it is wrong for a person to commend himself because of the danger of becoming proud: because if one is inclined to pride, it is dangerous for him to be pleased with himself. When there is no danger of pride, self-praise is not wrong. This danger was not to be feared in Christ, for if one is above everything, then no matter how much he praises himself, he does not commend himself too much.
Augustine also says that sometimes it is good that a person commends himself, as when this is beneficial to others. The Apostle commended himself this way to the Corinthians (2 Cor 11). Now for us to know God is very beneficial and necessary in every way, for our entire perfection lies in this. Thus it was a benefit for us that he reveal his greatness to us, for how could we know it if it were not shown to us by the one who knows. Thus it was necessary that Christ commend himself to us, for as Augustine says, if he did not praise himself in order to avoid seeming arrogant, he would be depriving us of wisdom: "Wisdom will praise herself" (Sir 24:1).
Source: Commentary on John