Ecclesiastes 5:19

And then he will not fully remember the days of his life, because God occupies his heart with delights

Other versions

King James Version

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.

English Standard Version

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.

New International Version

Moreover, when God gives any man wealth and possessions, and enables him to enjoy them, to accept his lot and be happy in his work-this is a gift of God.