After the promises of the beatitudes, He subjoins the threats of punishments. And because against good there is evil, He sets forth four threats corresponding to the four beatitudes, namely: desolation in the loss of temporal good, hunger, in the loss of spiritual good, weeping in the affliction of bodily evil, confusion in the suffering of everlasting reproach. And these are the four woes, which He threatens against four kinds of men opposed to the evangelical men previously determined, namely the covetous and the gluttonous, the wanton and the vainglorious.
Against the covetous, therefore, ...he threatens the woe of everlasting desolation, when he says: But woe to you who are rich! He speaks adversatively to the rich, that is, to those who love riches, because such people gape after accumulating riches: Habakkuk 2: "Woe to him who multiplies what is not his own"! that is, earthly goods, which are not ours, because they neither come with us nor depart with us; yet earthly men consider them to be their own: Revelation 8: "Woe, woe, woe to the inhabitants of the earth"! Such are the covetous, against whom the Lord says, Matthew 6: "Do not store up for yourselves treasures on earth, where rust and moth destroy." Since upon the abundance of these riches there must follow want, and upon consolation must follow desolation, therefore, adding the reason, he says: Who have your consolation: you have it, namely in the present, but not in the future; whence James 5: "Come now, you rich, weep, howling in your miseries which shall come upon you." Therefore this consolation is vain and false, because it brings on desolation: Zechariah 10: "The dreamers have spoken in vain, and they consoled to no purpose." Truly in vain, because "the men of riches have slept their sleep and found nothing in their hands." And therefore one must say with the Prophet David: "My soul refused to be consoled: I remembered God and was delighted"; Job 6: "Let this be my consolation, that afflicting me with pain, he spare not"; so that through the desolation of the way one may arrive at the consolation of the homeland, of which the last chapter of Isaiah says: "As a mother caresses someone, so will I comfort you." This we ought to await, not to anticipate: Judith 8: "Let us humbly await his consolation."
Source: Commentary on Luke, Chapter 6