Ecclesiastes 4:8

New American Standard Bible (NASB)
There was a certain man without a [b]dependent, having neither a son nor a brother, yet there was no end to all his labor. Indeed, his eyes were not satisfied with riches and he never asked, “And for whom am I laboring and depriving myself of pleasure?” This too is vanity and it is a grievous task.

Read Ecclesiastes 4:8 in other translations