Eclesiastes 3

17I 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.
18I said in mine heart concerning the estate of the sons of men, that God might manifest them, and that they might see that they themselves are beasts.