Ecclesiastes 3:17

17 I said to myself, “God will bring into judgment both the righteous and the wicked, for there will be a time for every activity, a time to judge every deed.”

Read Ecclesiastes 3:17 Using Other Translations

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.
I said in my heart, God will judge the righteous and the wicked, for there is a time for every matter and for every work.
I said to myself, “In due season God will judge everyone, both good and bad, for all their deeds.”