Ecclesiastes 3:17

New American Standard Bible (NASB)
I said [e]to myself, “God will judge both the righteous man and the wicked man,” for a time for every [f]matter and for every deed is there.

Read Ecclesiastes 3:17 in other translations