Ecclesiastes 8:9 in the King James Version
All this have I seen, and applied my heart unto every work that is done under the sun: there is a time wherein one man ruleth over another to his own hurt.
Context
8 There is no man who has power over the spirit to contain the spirit; neither does he have power over the day of death. There is no discharge in war; neither shall wickedness deliver those who practice it.
9 All this I have seen, and applied my mind to every work that is done under the sun. There is a time in which one man has power over another to his hurt.
10 So I saw the wicked buried. Indeed they came also from holiness. They went and were forgotten in the city where they did this. This also is vanity.