Ecclesiastes 8:14
14 There is vanity which is done on the earth, that is, there are arighteous men to whom it happens according to the works of the wicked. On the other hand, there are bwicked men to whom it happens according to the works of the righteous. I say that this too is vanity.