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 thought in my heart, "God will bring to judgment1 both the righteous and the wicked, for there will be a time for every activity, a time for every deed."2

References for Ecclesiastes 3:17