Eccl 6:2

6:2 God. Riches and poverty, as well as the ability or inability to enjoy one’s resources, are decreed by God.

power to enjoy. This involves control over the management of wealth, not merely pleasure derived from spending it.