4 And I saw that all toil and all achievement spring from one person’s envy of another. This too is meaningless, a chasing after the wind.

Read Ecclesiastes 4:4 Using Other Translations

Again, I considered all travail, and every right work, that for this a man is envied of his neighbour. This is also vanity and vexation of spirit.
Then I saw that all toil and all skill in work come from a man's envy of his neighbor. This also is vanity and a striving after wind.
Then I observed that most people are motivated to success because they envy their neighbors. But this, too, is meaningless—like chasing the wind.