Ecclesiastes 2:21 Halakhah

כִּי־יֵ֣שׁ אָדָ֗ם שֶׁעֲמָל֛וֹ בְּחָכְמָ֥ה וּבְדַ֖עַת וּבְכִשְׁר֑וֹן וּלְאָדָ֞ם שֶׁלֹּ֤א עָֽמַל־בּוֹ֙ יִתְּנֶ֣נּוּ חֶלְק֔וֹ גַּם־זֶ֥ה הֶ֖בֶל וְרָעָ֥ה רַבָּֽה׃

For there is a man whose labour is with wisdom, and with knowledge, and with skill; yet to a man that hath not laboured therein shall he leave it for his portion. This also is vanity and a great evil.

Read halakhic rulings (Jewish law) on Ecclesiastes 2:21: and classical halakhic sources.