Ecclesiastes 8:11-14 - Although Evil Is Not Punished Swiftly, God Does Eventually Punish Sinners

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; 13 but it shall not be well with the wicked, neither shall he prolong his days as a shadow, because he feareth not before God.

14 There is a vanity which is done upon the earth; that there are righteous men unto whom it happeneth according to the work of the wicked; and there are wicked men to whom it happeneth according to the work of the righteous. I said that this also is vanity.