Ecclesiastes 5:19

New International Version Bible (NIV)
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 in other translations