But what did you go out to see? After the Savior commended John with respect to the merit of his life, here he commends him with respect to the office of teaching, and in right order, because a good life ought to come before authoritative teaching. Moreover, the office of teaching is commended in John in two ways, namely with respect to clarity in knowing and with respect to authority in teaching, which two things render the office of a teacher perfect.
First, therefore, as regards limpidity in knowing the divine mystery, it is said: But what did you go out to see? A Prophet? to whom, namely,... the Lord reveals future things, according to that passage in Amos 3: "For the Lord God does nothing without first revealing His secret to His servants the Prophets." But to this one He not only foretold future things, but also showed Himself in present reality; and therefore He adds: Yes, I say to you, and more than a Prophet. Concerning whom Ambrose says: "Because many desired to see Him whom this one prophesied, whom this one beheld, whom this one baptized"; therefore, by pointing out Christ with his finger and seeing Him with his eye, he was more excellent and more blessed than the other Prophets, according to that passage below in chapter 10: "Blessed are the eyes that see what you see. For I say to you that many Prophets and kings wished to see what you see, and did not see it." And therefore, because his office was more excellent than that of the Prophets, the Baptist, in John 1, when the Pharisees asked: "Are you the Prophet?" answers: "I am not, but the voice of one crying in the wilderness." Nor is there any contradiction, but rather harmony, because a prophet foretells future and absent things, but a voice makes manifest things present.
Source: Commentary on Luke, Chapter 7