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

Ecclesiastes 3:12

I know that there is no good in them, but for a man to rejoice, and to do good in his life.

Read in other translations