Ecclesiastes 8:14

English Standard Version

14 There is a vanity that takes place on earth, that there are righteous people to whom it happens according to the deeds of the wicked, and there are wicked people to whom it happens according to the deeds of the righteous. I said that this also is vanity. (Job 21:7; Ps 17:9; Ps 73:3; Ps 73:12; Ec 2:14; Ec 7:15; Jer 12:1)

New International Version

14 There is something else meaningless that occurs on earth: the righteous who get what the wicked deserve, and the wicked who get what the righteous deserve. This too, I say, is meaningless.

New International Reader’s Version

14 Here’s something else on this earth that doesn’t have any meaning. Sometimes godly people get what sinful people should receive. And sinful people get what godly people should receive. Here’s what I’m telling you. That doesn’t have any meaning either.

King James Version

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