Ecclesiastes 8:10

10 And I have also seen the wicked buried and going away; and such as had acted rightly went from [the] holy place, and were forgotten in the city. This also is vanity.

Ecclesiastes 8:10 In-Context

8 There is no man who hath control over the spirit to retain the spirit; and no one hath control over the day of death; and there is no discharge in that war, neither shall wickedness deliver those that are given to it.
9 All this have I seen, and applied my heart unto every work that is done under the sun: there is a time when man ruleth man to his hurt.
10 And I have also seen the wicked buried and going away; and such as had acted rightly went from [the] holy place, and were forgotten in the city. This also is vanity.
11 Because sentence against an evil work is not executed speedily, therefore the heart of the children of men is fully set in them to do evil.
12 Though a sinner do evil a hundred times, and prolong his [days], yet I know that it shall be well with them that fear God, because they fear before him;
The Darby Translation is in the public domain.