Ecclesiastes 3:16-18 English Revised Version (ERV)

16. And moreover I saw under the sun, in the place of judgment, that wickedness was there; and in the place of righteousness, that wickedness was there.

17. I said in mine heart, God shall judge the righteous and the wicked: for there is a time there for every purpose and for every work.

18. I said in mine heart, It is because of the sons of men, that God may prove them, and that they may see that they themselves are but as beasts.

Ecclesiastes 3