Hassidout sur L’Ecclésiaste 2:26

כִּ֤י לְאָדָם֙ שֶׁטּ֣וֹב לְפָנָ֔יו נָתַ֛ן חָכְמָ֥ה וְדַ֖עַת וְשִׂמְחָ֑ה וְלַחוֹטֶא֩ נָתַ֨ן עִנְיָ֜ן לֶאֱס֣וֹף וְלִכְנ֗וֹס לָתֵת֙ לְטוֹב֙ לִפְנֵ֣י הָֽאֱלֹהִ֔ים גַּם־זֶ֥ה הֶ֖בֶל וּרְע֥וּת רֽוּחַ׃

C’est à l’homme qui lui plait qu’il donne sagesse, intelligence et joie; tandis qu’au pécheur il impose la corvée de recueillir et d’entasser [des biens], qu’il fait passer ensuite à celui qui jouit de la faveur divine. Cela est également vanité et pâture de vent.

Likutei Halakhot

“To the sinner He gave the task of gathering and amassing, to give it to the one who is good before God” (Ecclesiastes 2:26; see there).