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 7:15

Exceptions to the Law of Retribution

7:15 During the days of my fleeting life I have seen both of these things:

Sometimes a righteous person dies prematurely in spite of his righteousness,

and sometimes a wicked person lives long in spite of his evil deeds.