Ecclesiastes 3:17

3:17 I thought to myself, “God will judge both the righteous and the wicked;

for there is an appropriate time for every activity,

and there is a time of judgment for every deed.

Ecclesiastes 8:14

8:14 Here is another enigma that occurs on earth:

Sometimes there are righteous people who get what the wicked deserve,

and sometimes there are wicked people who get what the righteous deserve.

I said, “This also is an enigma.”