Psalms 36:6

36:6 Your justice is like the highest mountains,

your fairness like the deepest sea;

you preserve mankind and the animal kingdom.

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.”

Ecclesiastes 9:1-2

Everyone Will Die

9:1 So I reflected on all this, attempting to clear it all up.

I concluded that the righteous and the wise, as well as their works, are in the hand of God;

whether a person will be loved or hated

no one knows what lies ahead.

9:2 Everyone shares the same fate

the righteous and the wicked,

the good and the bad,

the ceremonially clean and unclean,

those who offer sacrifices and those who do not.

What happens to the good person, also happens to the sinner;

what happens to those who make vows, also happens to those who are afraid to make vows.