Ecclesiastes 3:16-17 NIV

16 And I saw something else under the sun: In the place of judgment—wickedness was there, in the place of justice—wickedness was there.
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.”

References for Ecclesiastes 3:17