Ecclesiastes 3:16-17 NRS

16 Moreover I saw under the sun that in the place of justice, wickedness was there, and in the place of righteousness, wickedness was there as well.
17 I said in my heart, God will judge the righteous and the wicked, for he has appointed a time for every matter, and for every work.