Ecclesiastes 8:14

There is another vanity which is done upon the earth: that there are just men, who are recompensed as if they had done according to the work of the wicked; again, there are wicked men, who are recompensed as if they had done according to the work of the righteous; I say that this also is vanity.

Ecclesiastes 7:15

All things have I seen in the days of my vanity: there is a just man that perishes for his righteousness, and there is a wicked man that prolongs his days by his wickedness.

Malachi 3:15

We say, therefore, now, that blessed are the proud and even that those that work wickedness are prospered; those that tempted God have escaped.

Job 21:7

Why do the wicked live and become old and even increase in riches?

Ecclesiastes 2:14

The wise man has his eyes in his head, but the fool walks in darkness: And I myself also understood that one event happens to the one and to the other.

Job 9:22-24

One thing remains, that I say, He consumes the perfect and the wicked.

Job 21:17-34

How often is the lamp of the wicked put out and their destruction comes upon them, and God distributes sorrows upon them in his anger.

Job 24:21-25

He afflicted the barren woman that did not conceive and never did good unto the widow.

Psalm 73:3

For I became angry against the foolish when I saw the peace of the wicked.

Psalm 73:12-14

Behold, these ungodly men, without being troubled by the world obtain riches.

Ecclesiastes 4:4

Again, I considered all travail and every right work, that for this a man is envied of his neighbour. This is also vanity and vexation of spirit.

Ecclesiastes 4:8

It is the man who is alone, without a successor, who has neither son nor brother; yet is there no end of all his labour; neither is his eye satisfied with riches; neither saith he, For whom do I labour and bereave my soul of good? This is also vanity and sore travail.

Ecclesiastes 9:1-3

Certainly I applied my heart unto all of this that I might declare all of this: that the righteous and the wise and their works are in the hand of God; no man knows either love or hatred by all that passes before them.

Ecclesiastes 10:5

There is another evil which I have seen under the sun, as an error which proceeds from the ruler:

Jeremiah 12:1

Righteous art thou, O LORD, even though I dispute with thee: even so, I will speak judgments with thee; Why does the way of the wicked prosper? All those that completely rebel against thee have peace.

Treasury of Scripture Knowledge

Summary

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.

Bible References

A vanity

Ecclesiastes 4:4
Again, I considered all travail and every right work, that for this a man is envied of his neighbour. This is also vanity and vexation of spirit.
Ecclesiastes 9:3
This is an evil among all things that are done under the sun, that there is one event unto all; and also that the heart of the sons of men is full of evil, and madness is in their heart while they live, and after that they go to the dead.
Ecclesiastes 10:5
There is another evil which I have seen under the sun, as an error which proceeds from the ruler:

There be just

Ecclesiastes 2:14
The wise man has his eyes in his head, but the fool walks in darkness: And I myself also understood that one event happens to the one and to the other.
Ecclesiastes 7:15
All things have I seen in the days of my vanity: there is a just man that perishes for his righteousness, and there is a wicked man that prolongs his days by his wickedness.
Ecclesiastes 9:1
Certainly I applied my heart unto all of this that I might declare all of this: that the righteous and the wise and their works are in the hand of God; no man knows either love or hatred by all that passes before them.
Job 9:22
One thing remains, that I say, He consumes the perfect and the wicked.
Job 21:17
How often is the lamp of the wicked put out and their destruction comes upon them, and God distributes sorrows upon them in his anger.
Job 24:21
He afflicted the barren woman that did not conceive and never did good unto the widow.
Psalm 73:13
Verily, in vain have I cleansed my heart and washed my hands in innocency
Malachi 3:15
We say, therefore, now, that blessed are the proud and even that those that work wickedness are prospered; those that tempted God have escaped.