Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
KJV

Ecclesiastes 3:17

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.

Read in other translations