19 Moreover, when God gives someone wealth and possessions, and the ability to enjoy them, to accept their lot and be happy in their toil—this is a gift of God.

Read Ecclesiastes 5:19 Using Other Translations

Every man also to whom God hath given riches and wealth, and hath given him power to eat thereof, and to take his portion, and to rejoice in his labour; this is the gift of God.
Everyone also to whom God has given wealth and possessions and power to enjoy them, and to accept his lot and rejoice in his toil--this is the gift of God.
And it is a good thing to receive wealth from God and the good health to enjoy it. To enjoy your work and accept your lot in life—this is indeed a gift from God.