כִּ֤י לְאָדָם֙ שֶׁטּ֣וֹב לְפָנָ֔יו נָתַ֛ן חָכְמָ֥ה וְדַ֖עַת וְשִׂמְחָ֑ה וְלַחוֹטֶא֩ נָתַ֨ן עִנְיָ֜ן לֶאֱס֣וֹף וְלִכְנ֗וֹס לָתֵת֙ לְטוֹב֙ לִפְנֵ֣י הָֽאֱלֹהִ֔ים גַּם־זֶ֥ה הֶ֖בֶל וּרְע֥וּת רֽוּחַ׃
Porque al hombre que le agrada, Dios le da sabiduría y ciencia y gozo, mas al pecador da trabajo, el que allegue y amontone, para que dé al que agrada á Dios. También esto es vanidad y aflicción de espíritu.
Pat Lechem
their absorption in (1) matters of this world and (2) its pleasures -- Two terms corresponding to love of "useful" things and love of "enjoyable" things. For in saying (1) [their absorption in] "matters of this world", the author's intent is on the way of most people, that most of their occupation and most of their time is squandered in fulfilling their lust for "useful" things such as building houses, making garments, and amassing possessions. The author called this "matters" [of this world], since "matters" (inyan) connotes "conduct" [in Hebrew] as Rashi explained on the verse "but to the sinner He has given a matter to gather and to accumulate" (Kohelet 2:26), and "it is an evil matter [that G-d has given to human beings with which to occupy themselves]" (Kohelet 1:13). (2) On the second term "its pleasures", the author's intent is on love of "enjoyable" things such as eating, drinking, marital relations where the [following] term "lusting" applies primarily to this type.
Rashi
others Another man will spring forth to receive the greatness of this one, as we find (Eccles. 2:26): “and to the sinner He has given the task...” Therefore, you should know about yourself, if you were wicked, you will not rise after your downfall. If you were innocent...