Hebrew · Midrash Rabbah (Hebrew, Torat Emet)דָּבָר אַחֵר, שִׁיר הַשִּׁירִים, רַבִּי אַיְּבוּ וְרַבִּי יְהוּדָה, רַבִּי אַיְּבוּ אָמַר שִׁיר חַד, הַשִּׁירִים תְּרֵין, הָא תְּלָתָא. וְרַבִּי יְהוּדָה בַּר סִימוֹן אֲמַר שִׁיר הַשִּׁירִים כֻּלָּהּ חַד, וְאִלֵּין תַּרְתֵּין אָחְרָנְיָאתָא מָה אַתְּ עָבֵד לוֹן, שִׁיר הַמַּעֲלוֹת לִשְׁלֹמֹה, וְחַד מִזְמוֹר שִׁיר חֲנֻכַּת הַבַּיִת לְדָוִד, סָבְרִין מֵימַר דָּוִד אֲמָרָן, וְאַתְּ תּוֹלֶה בְּדָוִד, שֶׁנֶּאֱמַר (שיר השירים ד, ד): כְּמִגְדַּל דָּוִיד צַוָּארֵךְ, אֶלָּא מַה שִּׁיר הַשִּׁירִים שְׁלֹמֹה אֲמָרָהּ וְתָלָה אוֹתָהּ בְּדָוִד. כְּשֶׁתִּמְצָא אוֹמֵר כָּל מַעֲשָׂיו שֶׁל אוֹתוֹ הָאִישׁ מְשֻׁלָּשִׁין הָיוּ, שָׁלשׁ מַעֲלוֹת עָלָה שְׁלֹמֹה, בַּמַּעֲלָה הָרִאשׁוֹנָה כְּתִיב (מלכים א ה, ד): כִּי הוּא רֹדֶה בְּכָל עֵבֶר הַנָּהָר. בְּמַעֲלָה שְׁנִיָה, שֶׁנֶּאֱמַר (מלכים א ה, א): וּשְׁלֹמֹה הָיָה מוֹשֵׁל. בְּמַעֲלָה שְׁלִישִׁית, שֶׁנֶּאֱמַר (דברי הימים א כט, כג): וַיֵּשֶׁב שְׁלֹמֹה עַל כִּסֵּא ה' לְמֶלֶךְ. אָמַר רַבִּי יִצְחָק וְכִי אֶפְשָׁר לוֹ לְאָדָם לֵישֵׁב עַל כִּסֵּא ה', אוֹתוֹ שֶׁכָּתוּב בּוֹ (דברים ד, כד): כִּי ה' אֱלֹהֶיךָ אֵשׁ אֹכְלָה הוּא, וּכְתִיב (דניאל ז, י): נְהַר דִּי נוּר נָגֵד וְנָפֵק וגו', וּכְתִיב (דניאל ז, ט): כָּרְסְיֵהּ שְׁבִיבִין דִּי נוּר, וְאַתְּ אֲמַרְתְּ וַיֵּשֶׁב שְׁלֹמֹה עַל כִּסֵּא ה', אֶלָּא מַה כִּסְּאוֹ שֶׁל הַקָּדוֹשׁ בָּרוּךְ הוּא שׁוֹלֵט מִסּוֹף הָעוֹלָם וְעַד סוֹפוֹ, אַף כִּסְּאוֹ שֶׁל שְׁלֹמֹה שׁוֹלֵט מִסּוֹף הָעוֹלָם וְעַד סוֹפוֹ. מַה כִּסֵּא ה' דָּן בְּלֹא עֵדִים וְהַתְרָאָה, אַף כִּסֵּא שְׁלֹמֹה דָּן בְּלֹא עֵדִים וְהַתְרָאָה, וְאֵי זֶה הוּא, זֶה דִינִין שֶׁל זוֹנוֹת, הֲדָא הוּא דִכְתִיב (מלכים א ג, טז): אָז תָּבֹאנָה שְׁתַּיִם נָשִׁים, מִי הָיוּ, רַב אָמַר רוּחוֹת הָיוּ, וְרַבָּנָן אָמְרִין יְבָמוֹת הָיוּ. רַבִּי סִימוֹן בְּשֵׁם רַבִּי יְהוֹשֻׁעַ בֶּן לֵוִי אָמַר זוֹנוֹת מַמָּשׁ הָיוּ וְהוֹצִיא דִינָן בְּלֹא עֵדִים וְהַתְרָאָה. שָׁלשׁ יְרִידוֹת יָרַד שְׁלֹמֹה, יְרִידָה רִאשׁוֹנָה, מֵאַחַר שֶׁהָיָה מֶלֶךְ גָּדוֹל מִסּוֹף הָעוֹלָם וְעַד סוֹפוֹ, נִתְמַעֲטָה מַלְכוּתוֹ וְלֹא הָיָה מֶלֶךְ אֶלָּא עַל יִשְׂרָאֵל, הֲדָא הוּא דִכְתִיב (משלי א, א): מִשְׁלֵי שְׁלֹמֹה בֶן דָּוִד מֶלֶךְ יִשְׂרָאֵל. יְרִידָה שְׁנִיָּה, מֵאַחַר שֶׁהָיָה מֶלֶךְ עַל יִשְׂרָאֵל, נִתְמַעֲטָה מַלְכוּתוֹ וְלֹא הָיָה מֶלֶךְ אֶלָּא עַל יְרוּשָׁלַיִם, הֲדָא הוּא דִכְתִיב (קהלת א, יב): אֲנִי קֹהֶלֶת הָיִיתִי מֶלֶךְ עַל יִשְׂרָאֵל בִּירוּשָׁלָיִם. יְרִידָה הַשְּׁלִישִׁית, מֵאַחַר שֶׁהָיָה מֶלֶךְ עַל יְרוּשָׁלַיִם, נִתְמַעֲטָה מַלְכוּתוֹ וְלֹא הָיָה מֶלֶךְ אֶלָּא עַל בֵּיתוֹ, שֶׁנֶּאֱמַר (שיר השירים ג, ז): הִנֵּה מִטָּתוֹ שֶׁלִּשְׁלֹמֹה, (שיר השירים ג, ח): כֻּלָּם אֲחֻזֵי חֶרֶב, וַאֲפִלּוּ עַל מִטָּתוֹ לֹא הָיָה מֶלֶךְ, שֶׁהָיָה מְפַחֵד מִן הָרוּחוֹת. שְׁלשָׁה עוֹלָמוֹת רָאָה, רַבִּי יוּדָן וְרַבִּי חוּנְיָא, רַבִּי יוּדָן אָמַר, מֶלֶךְ, הֶדְיוֹט, וּמֶלֶךְ. חָכָם, טִפֵּשׁ, וְחָכָם. עָשִׁיר, עָנִי, וְעָשִׁיר. מַה טַּעַם (קהלת ז, טו): אֶת הַכֹּל רָאִיתִי בִּימֵי הֶבְלִי, לֵית בַּר נָשׁ מְתַנֵּי אוּנְקִי דִּידֵיהּ אֶלָּא בִּשְׁעַת רַוְחֵיהּ. רַבִּי חוּנְיָא אָמַר, הֶדְיוֹט, מֶלֶךְ, וְהֶדְיוֹט. טִפֵּשׁ, חָכָם, וְטִפֵּשׁ. עָנִי, עָשִׁיר, וְעָנִי. מַה טַּעַם אֲנִי קֹהֶלֶת הָיִיתִי מֶלֶךְ עַל יִשְׂרָאֵל, הָיִיתִי הֲוֵינָא כַּד הֲוֵינָא, בְּרַם כְּעָן לֵית אֲנָא. שָׁלשׁ, עֲבֵרוֹת עָבַר, הִרְבָּה לוֹ סוּסִים, הִרְבָּה לוֹ נָשִׁים, הִרְבָּה לוֹ כֶּסֶף וְזָהָב, שֶׁנֶּאֱמַר (דברי הימים ב ט, כז): וַיִּתֵּן הַמֶּלֶךְ אֶת הַכֶּסֶף בִּירוּשָׁלַיִם כַּאֲבָנִים, וְלֹא הָיוּ נִגְנָבוֹת. אָמַר רַבִּי יוֹסֵי בַּר חֲנִינָא אַבְנֵי עֶשֶׂר אַמּוֹת וְאַבְנֵי שְׁמוֹנֶה אַמּוֹת. תָּנֵי רַבִּי שִׁמְעוֹן בֶּן יוֹחָאי אֲפִלּוּ מִשְׁקָלוֹת שֶׁהָיוּ בִּימֵי שְׁלֹמֹה, שֶׁל זָהָב הָיוּ, הֲדָא הוּא דִכְתִיב (דברי הימים ב ט, כ): אֵין כֶּסֶף נֶחְשָׁב בִּימֵי שְׁלֹמֹה. הִרְבָּה לוֹ נָשִׁים, שֶׁנֶּאֱמַר (מלכים א יא, א): וְהַמֶּלֶךְ שְׁלֹמֹה אָהַב נָשִׁים נָכְרִיּוֹת רַבּוֹת וְאֶת בַּת פַּרְעֹה וגו' מִן הַגּוֹיִם אֲשֶׁר אָמַר ה' אֶל בְּנֵי יִשְׂרָאֵל לֹא תָבֹאוּ בָהֶם וְהֵם לֹא יָבֹאוּ בָכֶם וגו', רַבִּי יְהוֹשֻׁעַ בֶּן לֵוִי אָמַר עַל שֵׁם (דברים ז, ג): לֹא תִתְחַתֵּן בָּם, רַבִּי שִׁמְעוֹן בֶּן יוֹחָאי אוֹמֵר לְאַהֲבָה, אַהֲבָה מַמָּשׁ לִזְנוּת. רַבִּי אֱלִיעֶזֶר בְּנוֹ שֶׁל רַבִּי יוֹסֵי הַגְּלִילִי אוֹמֵר כְּתִיב (נחמיה יג, כו): גַּם אוֹתוֹ הֶחֱטִיאוּ הַנָּשִׁים הַנָּכְרִיּוֹת, מְלַמֵּד שֶׁהָיָה בּוֹעֲלָן כְּשֶׁהֵן נִדּוֹת וְלֹא הָיוּ מוֹדִיעוֹת אוֹתוֹ. רַבִּי יוֹסֵי בֶּן חֲלַפְתָּא אוֹמֵר לְאַהֲבָה, לְהַאֲהִיבָן לְאָהֳבָן וּלְקָרְבָן וּלְגַיְּרָן וּלְהַכְנִיסָן תַּחַת כַּנְפֵי הַשְּׁכִינָה, נִמְצֵאתָ אוֹמֵר רַבִּי יְהוֹשֻׁעַ בֶּן לֵוִי, וְרַבִּי שִׁמְעוֹן בֶּן יוֹחָאי, וְרַבִּי אֱלִיעֶזֶר בְּנוֹ שֶׁל רַבִּי יוֹסֵי הַגְּלִילִי אָמְרוּ דָּבָר אֶחָד, רַבִּי יוֹסֵי בֶּן חֲלַפְתָּא פָּלִיג אַתְּלָתֵיהוֹן. שְׁלשָׁה שְׂטָנִים נִזְדַּוְּגוּ לוֹ, הֲדָא הוּא דִכְתִיב (מלכים א יא, יד): וַיָּקֶם ה' שָׂטָן לִשְׁלֹמֹה אֵת הֲדַד הָאֲדֹמִי, וּכְתִיב (מלכים א יא, כג): וַיָּקֶם אֱלֹהִים לוֹ שָׂטָן אֶת רָזוֹן בֶּן אֶלְיָדָע, וּכְתִיב (מלכים א יא, כה): וַיְהִי שָׂטָן לְיִשְׂרָאֵל כָּל יְמֵי שְׁלֹמֹה. הִרְבָּה לוֹ סוּסִים, שֶׁנֶּאֱמַר (מלכים א י, כט): וַתַּעֲלֶה וַתֵּצֵא מֶרְכָּבָה מִמִּצְרַיִם בְּשֵׁשׁ מֵאוֹת כֶּסֶף וְסוּס בַּחֲמִשִּׁים וּמֵאָה. שָׁלשׁ מְשָׁלוֹת אָמַר (משלי א, א): מִשְׁלֵי שְׁלֹמֹה בֶן דָּוִד מֶלֶךְ יִשְׂרָאֵל. (משלי י, ט): מִשְׁלֵי שְׁלֹמֹה בֶּן חָכָם יְשַׂמַח אָב, (משלי כה, א): גַּם אֵלֶּה מִשְׁלֵי שְׁלֹמֹה אֲשֶׁר הֶעְתִּיקוּ אַנְשֵׁי חִזְקִיָּה מֶלֶךְ יְהוּדָה. שְׁלשָׁה הֲבָלִים אָמַר (קהלת א, ב): הֲבֵל הֲבָלִים אָמַר קֹהֶלֶת וגו', הֲבֵל חַד, וַהֲבָלִים תְּרֵין, הָא תְּלָתָא. שְׁלשָׁה שִׁירִים אָמַר: שִׁיר חַד, הַשִּׁירִים תְּרֵין, הָא תְּלָתָא. שְׁלשָׁה שֵׁמוֹת נִקְרְאוּ לוֹ: יְדִידְיָה, שְׁלֹמֹה, קֹהֶלֶת. רַבִּי יְהוֹשֻׁעַ בֶּן לֵוִי אָמַר הַנְהוּ תְּלָתָא, אָגוּר, יָקֶה, לְמוּאֵל, אִיתִיאֵל, הָא שִׁבְעָה. אָמַר רַבִּי שְׁמוּאֵל בַּר נַחְמָן וְעִקַּר אַוְתֶנְטִיָּה שֶׁלָּהֶן, יְדִידְיָה, קֹהֶלֶת, שְׁלֹמֹה. מוֹדֶה רַבִּי שְׁמוּאֵל בַּר נַחְמָן בְּאֵלּוּ אַרְבָּעָה שֶׁנִּתּוֹסְפוּ לוֹ וְנִתְכַּנָּה בָּהֶן, הֵן צְרִיכִין לְהִדָּרֵשׁ: אָגוּר, שֶׁאָגוּר דִּבְרֵי תוֹרָה. בִּן יָקֶה, בֶּן שֶׁהֵקִיאָה לְשָׁעָה, כַּסֵּפֶל הַזֶּה שֶׁנִּתְמַלֵּא בְּשַׁעְתּוֹ וְנִשְׁפַּךְ בְּשַׁעְתּוֹ, כָּךְ לָמַד שְׁלֹמֹה תּוֹרָה בְּשַׁעְתָּהּ וּשְׁכֵחָהּ בְּשַׁעְתָּהּ. לְמוּאֵל, שֶׁנָּם לָאֵל בְּכָל לִבּוֹ, אָמַר יָכוֹל אֲנִי לְהַרְבּוֹת וְלֹא לַחֲטוֹא. לְאִיתִיאֵל, לְאִיתִיאֵל וְאֻכָל, אִיתִיאֵל, אִתִּי אֵל וְאֻכָל. שְׁלשָׁה סְפָרִים כָּתַב: מִשְׁלֵי, וְקֹהֶלֶת, שִׁיר הַשִּׁירִים. אֵי זֶה מֵהֶן כָּתַב תְּחִלָּה, רַבִּי חִיָּא רַבָּה וְרַבִּי יוֹנָתָן, רַבִּי חִיָּא רַבָּה אָמַר מִשְׁלֵי כָּתַב תְּחִלָּה, וְאַחַר כָּךְ שִׁיר הַשִּׁירִים, וְאַחַר כָּךְ קֹהֶלֶת, וּמַיְתֵי לָהּ מֵהַאי קְרָא (מלכים א ה, יב): וַיְדַבֵּר שְׁלשֶׁת אֲלָפִים מָשָׁל, מָשָׁל זֶה סֵפֶר מִשְׁלֵי, וַיְהִי שִׁירוֹ חֲמִשָּׁה וָאָלֶף, זֶה שִׁיר הַשִּׁירִים, וְקֹהֶלֶת בַּסּוֹף אָמַר. מַתְנְיָיתָא דְרַבִּי חִיָּא רַבָּה פְּלִיגָא עַל הָדֵין שְׁמַעְתָּא, מַתְנִיתָּא אָמְרָה שְׁלָשְׁתָּן כָּתַב כְּאַחַת, וּשְׁמַעְתָּא אָמְרָהּ כָּל חַד וְחַד בִּפְנֵי עַצְמוֹ. תָּנֵי רַבִּי חִיָּא רַבָּה רַק לְעֵת זִקְנַת שְׁלֹמֹה שָׁרְתָה עָלָיו רוּחַ הַקֹּדֶשׁ וְאָמַר שְׁלשָׁה סְפָרִים: מִשְׁלֵי, וְקֹהֶלֶת, וְשִׁיר הַשִּׁירִים. רַבִּי יוֹנָתָן אָמַר שִׁיר הַשִּׁירִים כָּתַב תְּחִלָּה, וְאַחַר כָּךְ מִשְׁלֵי, וְאַחַר כָּךְ קֹהֶלֶת, וּמַיְתֵי לָהּ רַבִּי יוֹנָתָן מִדֶּרֶךְ אֶרֶץ, כְּשֶׁאָדָם נַעַר אוֹמֵר דִּבְרֵי זֶמֶר, הִגְדִיל אוֹמֵר דִּבְרֵי מְשָׁלוֹת, הִזְקִין אוֹמֵר דִּבְרֵי הֲבָלִים. רַבִּי יַנַּאי חָמוּי דְּרַבִּי אַמֵּי אָמַר הַכֹּל מוֹדִים שֶׁקֹּהֶלֶת בַּסּוֹף אֲמָרָהּ.
English · The Sefaria Midrash Rabbah (2022)Another matter, “The song of songs,” Rabbi Aivu and Rabbi Yehuda, Rabbi Aivu said: Song, one, of songs, two; that is three. Rabbi Yehuda bar Simon said: Song of Songs is entirely one. The other two, what do you do with them? [One is] “A song of ascents for Solomon” (Psalms 127:1) and one is: “A psalm, a song for the dedication of the House, by David” (Psalms 30:1). They thought to say that David said it. But you say it was attributed to David, as it is stated: “Your neck is like the tower of David” (Song of Songs 4:4). Rather, it is just like Song of Songs; Solomon said it, and attributed it to David.
When you analyze you say that all the actions of that man [Solomon] were threefold. Solomon rose to three levels. Regarding the first level, it is written: “For he ruled over the entire region beyond the River” (I Kings 5:4). Regarding the second level, it is stated: “Solomon was the ruler [over all the kingdoms from the River to the land of the Philistines, and to the border of Egypt]” (I Kings 5:1). Regarding the third level, it is stated: “Solomon sat on the throne of the Lord as king” (I Chronicles 29:23). Rabbi Yitzḥak said: Is it possible for a person to sit on the throne of the Lord, in whose regard it is written: “For the Lord your God is a consuming fire” (Deuteronomy 4:24), and it is written: “A river of fire flowed and emerged [from before Him]” (Daniel 7:10), and it is written: “His throne was sparks of fire” (Daniel 7:9), and you say: “Solomon sat on the throne of the Lord”? Rather, just as the throne of the Holy One blessed be He rules from one end of the earth to the other, so, too, the throne of Solomon ruled from one end of the earth to the other. Just as the throne of the Lord judges without witnesses and forewarning, so, too, the throne of Solomon judged without witnesses and forewarning. Which [trial] was that? That was the trial of the harlots. That is what is written: “Then two women, [who were harlots,] came” (I Kings 3:16). Who were they? Rav said: They were spirits. The Rabbis say: They were childless women awaiting levirate marriage. Rabbi Simon said in the name of Rabbi Yehoshua ben Levi: They were actual harlots, and Solomon issued his ruling without witnesses and forewarning.
Solomon descended three descents. The first descent: After he was a great king from one end of the earth to the other, his kingdom diminished and he was king only over Israel. That is what is written: “The proverbs of Solomon son of David, king of Israel” (Proverbs 1:1). The second descent: After he was king over Israel, his kingdom diminished and he was king only over Jerusalem. That is what is written: “I am Kohelet, I was king over Israel in Jerusalem” (Ecclesiastes 1:12). The third descent: After he was king over Jerusalem, his kingdom diminished and he was king only over his house, as it is stated: “Behold Solomon’s bed; [sixty mighty men are around it, from the mighty of Israel,] all armed with a sword… [from fear in the nights]” (Song of Songs 3:7–8). He was not even king over his bed, as he feared the spirits.
He saw three worlds. Rabbi Yudan and Rabbi Ḥunya, Rabbi Yudan said: King, commoner, and king, wise man, fool, and wise man, wealthy, indigent, and wealthy. What is the reason? “I have seen everything in the days of my vanity” (Ecclesiastes 7:15). A person relates his troubles only during the days of his wellbeing. Rabbi Hunya said: Commoner, king, and commoner, fool, wise man, and fool, indigent, wealthy, and indigent. What is the reason? “I am Kohelet, I was king over Israel in Jerusalem” (Ecclesiastes 1:12). “I was,” I was when I was; however, now, I am no longer.
He violated three prohibitions: He amassed horses, he amassed women, he amassed silver and gold, as it is stated: “The king rendered the silver in Jerusalem like stones” (II Chronicles 9:27). Would they not have been stolen? Rabbi Yosei bar Ḥanina said: They were ten-cubit stones and eight-cubit stones. Rabbi Shimon ben Yoḥai taught: Even the weights that were in use during Solomon’s era were of gold; that is what is written: “Silver was not considered anything in the days of Solomon” (II Chronicles 9:20). He amassed women, as it is stated: “King Solomon loved many foreign women, and Pharaoh’s daughter…from the nations of whom the Lord said to the children of Israel: Do not consort with them and they shall not consort with you… [to them Solomon cleaved for love]” (I Kings 11:1–2).
Rabbi Yehoshua ben Levi said: It is due to: “You shall not marry them” (Deuteronomy 7:3). Rabbi Shimon ben Yoḥai says: “For love” (I Kings 11:2); for actual love, for licentiousness. Rabbi Eliezer son of Rabbi Yosei HaGelili says: It is written: “He, too, the foreign women caused him to sin” (Nehemiah 13:26); it teaches that he would have relations with them when they were menstruants and they would not inform him. Rabbi Yosei ben Ḥalafta says: “For love,” to render them beloved [to God], to love them, to draw them near, to convert them, and to cause them to enter beneath the wings of the Divine Presence. It turns out that Rabbi Yehoshua ben Levi, Rabbi Shimon ben Yoḥai, and Rabbi Eliezer son of Rabbi Yosei HaGelili all said the same thing. Rabbi Yosei ben Ḥalafta disagrees with the three of them.
Three adversaries confronted him. That is what is written: “The Lord raised up an adversary for Solomon, Hadad the Edomite” (I Kings 11:14); and it is written: “God raised up an adversary for him: Retzon son of Elyada” (I Kings 11:23); and it is written: “He was an adversary for Israel all the days of Solomon,” (I Kings 11:25). He amassed horses, as it is stated: “A chariot came up and went out of Egypt for six hundred silver pieces and a horse for one hundred and fifty” (I Kings 10:29).
He stated three proverbs: “The proverbs of Solomon son of David, king of Israel” (Proverbs 1:1); “the proverbs of Solomon: A wise son brings joy to a father” (Proverbs 10:1); “these, too, are the proverbs of Solomon, that the men of Hezekiah king of Judah copied” (Proverbs 25:1).
He said three vanities: “Vanity [havel] of vanities [havalim] said Kohelet…” (Ecclesiastes 1:2), havel, one, havalim, two; that is three.
He recited three songs: Song, one, of songs, two, that is three.
He was called three names: Yedidya, Solomon, Kohelet. Rabbi Yehoshua ben Levi said these three, [and also] Agur, Yakeh, Lemuel, Itiel, are seven. Rabbi Shmuel bar Naḥman said: The primary among them are Yedidya, Kohelet, Solomon. Rabbi Shmuel bar Naḥman concedes that these [additional] four were added for him and that he was called by them, and they must be expounded: Agur, because he amassed [agur] matters of Torah; bin-Yakeh, a son [bin], who vomited [hekia] for a time, like this basin that is filled for a time and emptied for a time; so, too, Solomon studied Torah for a time and forgot it for a time. Lemuel, who spoke to God [nam laEl] with all his heart. He said: I can amass and not sin. “To Itiel, to Itiel and Ukhal” (Proverbs 30:1). Itiel, God [el] is with me [iti] and I will prevail [veukhal].
He wrote three books: Proverbs, Ecclesiastes, and Song of Songs. Which of them did he write first? Rabbi Ḥiyya the Great and Rabbi Yonatan, Rabbi Ḥiyya the Great said: He wrote Proverbs first, then Song of Songs, and then Ecclesiastes, and he derived it from this verse: “He spoke three thousand proverbs” (I Kings 5:12); proverbs, this is the book of Proverbs; “his songs were one thousand and five” (I Kings 5:12), this is Song of Songs, and he said Ecclesiastes last.
The baraita of Rabbi Ḥiyya the Great disagrees with this statement. The baraita says: He wrote the three of them simultaneously, and the statement says that he wrote each and every one individually. Rabbi Ḥiyya the Great taught: It was only in Solomon’s old age that the Divine Presence rested upon him and he composed three books: Proverbs, Ecclesiastes, and Song of Songs. Rabbi Yonatan said: He wrote Song of Songs first, then Proverbs, and then Ecclesiastes. Rabbi Yonatan derived it from the way of the world. When a person is young, he says words of song, when he matures, he says words of proverbs, when he grows old, he speaks of [how the pleasures of the world are] vanities. Rabbi Yannai, the father-in-law of Rabbi Ami said: Everyone concedes that he composed Ecclesiastes last.