To the man who is pleasing in His sight, He gives wisdom and knowledge and joy, but to the sinner He assigns the task of gathering and accumulating that which he will hand over to one who pleases God. This too is futile and a pursuit of the wind.
Jewish Publication Society of America Version (JPS1917) - Ecclesiastes 2:26 >For to the man that is good in His sight He giveth wisdom, and knowledge, and joy; but to the sinner He giveth the task, to gather and to heap up, that he may leave to him that is good in the sight of God. This also is vanity and a striving after wind.