But John answering etc. After the teaching of humility toward those of one's own household, he teaches that humility must be maintained toward outsiders: concerning the introduction of which, three things are set forth. For first there is introduced on the part of the outsider the operation of virtue; second, on the part of the disciple the prohibition of rashness; third, on the part of the Master the persuasion of humility.
First therefore he introduces the operation of virtue on the part of the outsider, when he says: But John answering said: Master, we saw someone casting out demons in you...r name. For because the Lord had urged humility, John, wishing to know whether the teaching extends to outsiders, therefore responds and introduces this outsider working wonders. Now those who are outsiders to Christ can work miracles, according to that passage in Matthew 7: "Many will say to me: Lord, in your name we cast out demons and in your name we worked many mighty deeds." Then he will say to them: "Depart from me, you who work iniquity." Now this happens when someone has faith in the Lord Christ without the love of charity, according to that passage in First Corinthians 13: "If I should have faith so as to move mountains, but have not charity, I am nothing." And this is because charity is that which makes one a friend of Christ. In this, moreover, the power of the name of Christ is manifest, that it is of great efficacy even when invoked by outsiders, so that, according to that passage in Philippians 2, "at the name of Jesus every knee should bow, of those in heaven, on earth, and under the earth." Whence below in the tenth chapter: "Lord, in your name even the demons are subject to us."
Second, he introduces the prohibition of rashness on the part of the disciple, when he says: And we forbade him, namely I together with others; which was not without the mark of presumption, since Proverbs 3: "Do not forbid him who is able to do good; if you can, do good yourself also." - Because nevertheless what is done from the swelling of pride is frequently cloaked under zeal for justice, therefore he adds: Because he does not follow you with us: and therefore he is not worthy to be like us in the working of miracles, who is not like us in the fulfillment of counsels. In this, however, pride lay hidden, as if he were saying that word of Isaiah 65: "Who say: Depart from me, do not come near me, for you are unclean." And that jealousy was apparent, of which Numbers 11 speaks concerning the men who prophesied in the camp without Moses, that "Joshua, the son of Nun, said: My lord Moses, forbid them. But he said: Why are you jealous for my sake?" Whence John, who was the foremost lover of the Lord and a zealot for His honor, wished to exclude from the preaching of Christ's name everyone who did not love the Lord. Whence Bede in the Gloss: "John, loving the Lord and beloved by the Lord, thinks that he who does not render service should be excluded from the benefit." Nevertheless he was mistaken, because, Philippians 1, "whether by occasion or by truth Christ is proclaimed, yet in this I rejoice and will rejoice."
Source: Commentary on Luke, Chapter 9