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

Ecclesiastes 2:17

So I hated life, because the work that is worked under the sun was grievous to me; for all is vanity and a chasing after wind.

Read in other translations