Ecclesiastes 2:12 Talmud References

וּפָנִ֤יתִֽי אֲנִי֙ לִרְא֣וֹת חָכְמָ֔ה וְהוֹלֵל֖וֹת וְסִכְל֑וּת כִּ֣י ׀ מֶ֣ה הָאָדָ֗ם שֶׁיָּבוֹא֙ אַחֲרֵ֣י הַמֶּ֔לֶךְ אֵ֥ת אֲשֶׁר־כְּבָ֖ר עָשֽׂוּהוּ׃

And I turned myself to behold wisdom, and madness and folly; for what can the man do that cometh after the king? even that which hath been already done.

Find Talmudic references to Ecclesiastes 2:12: , passages from the Talmud Bavli and Yerushalmi.