To the vainglorious, however, he threatens the woe of eternal contempt, when he adds: Woe to you, when all men shall bless you! namely by extolling with vain praises: Proverbs 27: "He who blesses his neighbor with a loud voice, rising early in the morning, shall be like one who curses"; because, as it is said in Isaiah 9, "those who call this people blessed are misleading them, and those who are called blessed are cast down headlong." For they are cast down headlong from vain praises into eternal reproach, while they are exalted by them, according to that passage of Job 30: "You lifted me up a...nd, as it were, setting me upon the wind," namely of vain praise, "you dashed me down violently." And because it is difficult to avoid praises of this kind, he adds an example: For according to these things their fathers did to the prophets: to the prophets, I say, not true ones, but false; whence the Gloss: "They blessed the false prophets, who prophesied from their own heart to capture the favor of the crowd"; Jeremiah 5: "An astonishing and wonderful thing has been done in the land: the prophets prophesied falsehood, and the priests clapped their hands, and my people loved such things." In this, therefore, by showing that wicked men were praised by the prophets, he shows that popular favor is altogether to be despised: the Psalm: "God has scattered the bones of those who please men; they are confounded, because God has despised them." But this is said not of those who show good and praiseworthy examples to the people for the glorifying of God, since it is said in Matthew 5: "Let your light shine before men, that they may see your good works and glorify your Father who is in heaven"; but of those who seek their own glory in pleasing men and in their praises: Galatians 1: "If I were still pleasing men, I would not be a servant of Christ."
Note here concerning the diversity between Matthew and Luke: because Luke sets down both promises and threatening woes, but Matthew sets down only promises. On account of which it seems either that one spoke deficiently, or the other superfluously. But certainly it can be answered, as the Gloss suggests and Augustine says, that the one sermon was different from the other. The diversity of which is gathered from the places and persons and precepts. For that one was to the disciples, this one to the crowds: that one while sitting, this one while standing: that one on the mountain, this one in a level place: that one contains more teachings than this one, because seven beatitudes, this one four: from all of which it is gathered that the one was different from the other. Nor undeservedly, because to different persons one must speak differently. For to the disciples, as to more perfect ones, the evangelical commands ought to have been explained in a more perfect manner; but the crowd cannot ascend to lofty things, and therefore the word of God is not explained to the crowds as perfectly as to the Apostles. And because the perfect are moved by love, but the imperfect not only by love but also by fear: therefore in the sermon to the Apostles, beatitudes are set down and not woes; in the sermon to the crowds, both beatitudes and woes. Again, because the perfect are made conformable to Christ through the sevenfold Spirit, who rested upon him, as is said in Isaiah eleven; therefore seven beatitudes are set down, corresponding to the seven gifts of the Holy Spirit. Here four beatitudes are noted corresponding to the four cardinal virtues, as is held in the Gloss: Poverty, to temperance; hunger for spiritual good, to justice; weeping, to prudence; suffering of evils, to fortitude or patience, as the Gloss of Bede says.
In these four, however, the others are contained implicitly: whence Luke does not express the spiritual sense in these promises as Matthew does. For Matthew says: "Blessed are the poor in spirit"; here only: "Blessed are the poor"; the former: "Blessed are those who hunger and thirst for justice," etc. And again, in Matthew they are proposed universally and in the third person, because he speaks to those who understand—in Luke, particularly and in the second person, because he speaks to the sensual. From these things the reasons for the other diversities can be gathered, because according to the diversity of hearers, the manner of speech of teachers is diverse, according to that saying of the Apostle in Colossians four: "Let your speech always be in grace, seasoned with salt, that you may know how you ought to answer every one." And this that teacher of the nations did, in First Corinthians two: "When I came to you, I came not in loftiness of speech," etc., and afterward follows: "But we speak wisdom among the perfect." So did the Savior, who spoke to the crowds in parables, but apart explained all things to his disciples, as is said in Matthew thirteen, because to them it was given "to know the mysteries of the kingdom of heaven."
Source: Commentary on Luke, Chapter 6