I 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. Ecclesiastes 3:17 (KJV)
‘God shall judge,’ does not seem to refer to eschatological justice here; it rather seems to state that “judgement is in the hand of God: God will judge in God’s own time.” (Seow, 166)
Comments: We continue from v16, where the anomaly that Qoheleth presents us is of wicked men seated in the seat of Justice and Righteousness. Qoheleth continues now to say, even this anomaly has its designated end assigned by God; i.e., God is not inactive or blind to this brand of evil as well. (Provan, 103)
References:
Provan, I. (2001). Ecclesiastes/Song of Songs: The New Application Commentary, Zondervan
Seow, C.L. (1997). Ecclesiastes, Yale University Press