Ecclesiastes 3:17 in the King James Version
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.
Context
16 Moreover I saw under the sun, in the place of justice, that wickedness was there; and in the place of righteousness, that wickedness was there.
17 I said in my heart, “God will judge the righteous and the wicked; for there is a time there for every purpose and for every work.”
18 I said in my heart, “As for the sons of men, God tests them, so that they may see that they themselves are like animals.