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

Ecclesiastes 2:22

For what hath man of all his labour, and of the vexation of his heart, wherein he hath laboured under the sun?

Read in other translations