סנהדרין י:ב · Sanhedrin 10:2

שְׁלֹשָׁה מְלָכִים וְאַרְבָּעָה הֶדְיוֹטוֹת אֵין לָהֶם חֵלֶק לָעוֹלָם הַבָּא. שְׁלֹשָׁה מְלָכִים, יָרָבְעָם, אַחְאָב, וּמְנַשֶּׁה. רַבִּי יְהוּדָה אוֹמֵר, מְנַשֶּׁה יֶשׁ לוֹ חֵלֶק לָעוֹלָם הַבָּא, שֶׁנֶּאֱמַר (דברי הימים ב לג) וַיִּתְפַּלֵּל אֵלָיו וַיֵּעָתֶר לוֹ וַיִּשְׁמַע תְּחִנָּתוֹ וַיְשִׁיבֵהוּ יְרוּשָׁלַיִם לְמַלְכוּתוֹ. אָמְרוּ לוֹ, לְמַלְכוּתוֹ הֱשִׁיבוֹ וְלֹא לְחַיֵּי הָעוֹלָם הַבָּא הֱשִׁיבוֹ. אַרְבָּעָה הֶדְיוֹטוֹת, בִּלְעָם, וְדוֹאֵג, וַאֲחִיתֹפֶל, וְגֵחֲזִי:
Three prominent kings mentioned in the Bible and four prominent commoners who are described in the Bible as men of great wisdom have no share in the World-to-Come. The three kings are: Jeroboam, son of Nebat, and Ahab, both of whom were kings of Israel, and Manasseh, king of Judea. Rabbi Yehuda says: Manasseh has a share in the World-to-Come, as it is stated concerning Manasseh: “And he prayed to Him, and He received his entreaty, and heard his supplication and brought him back to Jerusalem unto his kingdom” (II Chronicles 33:13), indicating that he repented wholeheartedly and effectively. The Rabbis said to Rabbi Yehuda: He regretted his actions, and his repentance was effective to the extent that God restored him to his kingdom, but God did not restore him to his share in life in the World-to-Come. The four commoners are: Balaam, son of Beor; Doeg the Edomite; Ahithophel; and Gehazi.

Word-by-word Breakdown (מילים ושרשים)

שְׁלֹשָׁה → Three [ש - ל - ש]מְלָכִים → kings [מ - ל - כ]וְאַרְבָּעָה → and four [ר - ב - ע]הֶדְיוֹטוֹת → commoners [ה - ד - י - ט]אֵין → have no [א - י - ן]לָהֶם → to them חֵלֶק → share [ח - ל - ק]לָעוֹלָם → in the world [ע - ל - ם]הַבָּא → coming [ב - ו - א]שְׁלֹשָׁה → Three [ש - ל - ש]מְלָכִים → kings [מ - ל - כ]יָרָבְעָם → Jeroboam אַחְאָב → Ahab וּמְנַשֶּׁה → and Manasseh [נ - ש - ה]רַבִּי → Rabbi [ר - ב - ב]יְהוּדָה → Judah [י - ד - ה]אוֹמֵר → says [א - מ - ר]מְנַשֶּׁה → Manasseh [נ - ש - ה]יֶשׁ → there is [י - ש - ׁ]לוֹ → to him חֵלֶק → share [ח - ל - ק]לָעוֹלָם → in the world [ע - ל - ם]הַבָּא → coming [ב - ו - א]שֶׁנֶּאֱמַר → as it is stated [א - מ - ר]דברי → Chronicles [ד - ב - ר]הימים → of the Days [י - ו - ם]ב → II לג → 33 וַיִּתְפַּלֵּל → And he prayed [פ - ל - ל]אֵלָיו → to Him וַיֵּעָתֶר → and He was entreated [ע - ת - ר]לוֹ → by him וַיִּשְׁמַע → and He heard [ש - מ - ע]תְּחִנָּתוֹ → his supplication [ח - נ - ן]וַיְשִׁיבֵהוּ → and He brought him back [ש - ו - ב]