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

Ecclesiastes 7:17

Be not over much wicked, neither be thou foolish: why shouldest thou die before thy time?

Read in other translations