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

Ecclesiastes 2:21

For there is [such] a man that his labour is in wisdom, and in knowledge, and in fortitude; yet [this] man shall give his portion to one who has not laboured therein. This is also vanity and great evil.

Read in other translations