Ecclesiastes 8:10-13 ESV
Then I saw the wicked buried. They used to go in and out of the holy place and were praised in the city where they had done such things. This also is vanity. Because the sentence against an evil deed is not executed speedily, the heart of the children of man is fully set to do evil. 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. 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.
ESV: English Standard Version 2016