Ecclesiastes 8:14

14 There is a vanity which is done upon the earth; that there are righteous persons to whom it happens according to the doing of the ungodly; and there are ungodly men, to whom it happens according to the doing of the just: I said, This is also vanity.

Ecclesiastes 8:14 Meaning and Commentary

Ecclesiastes 8:14

There is a vanity which is done upon the earth
Transacted in this lower world under the sun, through the permission and direction of divine Providence; not that it is a vanity on the part of God, who has wise ends to answer by it, for the good of his people, the trial of their graces or to bring sinners to repentance, or harden them in sin; but this shows the vanity and uncertainty of all worldly things, and that there is no happiness to be had in them; that there be just [men], unto whom it happeneth according to the work
of the wicked:
to whom evil comes, as the Targum and Jarchi; who are treated as if they were wicked men, and dealt with in providence as sinners would be, if they had the just desert of their wicked works; being attended with poverty, sickness, and disgrace, and other calamities of life, as Job, Asaph, Lazarus, and others, and yet truly righteous and good men; again, there be wicked [men] to whom it happeneth according to the
work of the righteous;
to whom good things come, as the Targum and Jarchi; who have an affluence of good things, all the outward blessings of life, as health, wealth, honour, long life as if they had lived the best of lives, and were the most righteous persons upon earth; see ( Job 21:7-13 ) ( Psalms 73:4 Psalms 73:5 Psalms 73:7 ) ( Luke 16:19 ) ; I said, that this also [is] vanity;
this is said, as some think, according to the judgment of corrupt nature; or as it is apprehended by such who do not rightly consider the judgments of God and the wisdom of Providence in the ordering of things to answer good purposes; or rather the sense is, this is one of the miseries and infelicities of this life, and which demonstrates the emptiness of all things here below, and that the chief good and supreme happiness is not to be had here; but there is and must be a future state, when all things will be set right, and everyone will have and enjoy his proper portion.

Ecclesiastes 8:14 In-Context

12 He that has sinned has done evil from that time, and long from beforehand: nevertheless I know, that it is well with them that fear God, that they may fear before him:
13 but it shall not be well with the ungodly, and he shall not prolong his days, as a shadow; forasmuch as he fears not before God.
14 There is a vanity which is done upon the earth; that there are righteous persons to whom it happens according to the doing of the ungodly; and there are ungodly men, to whom it happens according to the doing of the just: I said, This is also vanity.
15 Then I praised mirth, because there is no good for a man under the sun, but to eat, and drink, and be merry: and this shall attend him in his labour all the days of his life, which God has given him under the sun.
16 Whereupon I set my heart to know wisdom, and to perceive the trouble that was wrought upon the earth: for there is that neither by day nor night sees sleep with his eyes.

The Brenton translation of the Septuagint is in the public domain.