Ecclesiastes 8:14

14 There is a vanity which takes place on earth, that there are righteous men to whom it happens according to the deeds of the wicked, and there are wicked men to whom it happens according to the deeds of the righteous. I said that this also is vanity.

Ecclesiastes 8:14 In-Context

12 Though a sinner does evil a hundred times and prolongs his life, yet I know that it will be well with those who fear God, because they fear before him;
13 but it will not be well with the wicked, neither will he prolong his days like a shadow, because he does not fear before God.
14 There is a vanity which takes place on earth, that there are righteous men to whom it happens according to the deeds of the wicked, and there are wicked men to whom it happens according to the deeds of the righteous. I said that this also is vanity.
15 And I commend enjoyment, for man has no good thing under the sun but to eat and drink, and enjoy himself, for this will go with him in his toil through the days of life which God gives him under the sun.
16 When I applied my mind to know wisdom, and to see the business that is done on earth, how neither day nor night one's eyes see sleep;
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.