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

Ecclesiastes 2:22

For it happens to a man in all his labour, and in the purpose of his heart wherein he labours under the sun.

Read in other translations