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

Ecclesiastes 8:5

Whoever keeps the commandment shall not come to harm, and his wise heart will know the time and procedure.

Read in other translations