In the Torah it seems pretty clear that the Kohanim/Leviim were supposed to be the teachers and moral guides of Bnei Yisrael (e.g., Devarim 33:10):
יוֹרוּ מִשְׁפָּטֶיךָ לְיַעֲקֹב וְתוֹרָתְךָ לְיִשְׂרָאֵל יָשִׂימוּ קְטוֹרָה בְּאַפֶּךָ וְכָלִיל עַל־מִזְבְּחֶךָ׃
And Devarim 17:8:
"כִּי יִפָּלֵא מִמְּךָ דָבָר לַמִּשְׁפָּט ... וְקַמְתָּ וְעָלִיתָ אֶל־הַמָּקוֹם אֲשֶׁר יִבְחַר ה"א בּוֹ׃
וּבָאתָ אֶל־הַכֹּהֲנִים הַלְוִיִּם וְאֶל־הַשֹּׁפֵט אֲשֶׁר יִהְיֶה בַּיָּמִים הָהֵם וְדָרַשְׁתָּ וְהִגִּידוּ לְךָ אֵת דְּבַר הַמִּשְׁפָּט׃ "
Yet in the rest of Nach we don't see Leviim taking an active role in teaching/rebuking Bnei Yisrael; rather, this is left up to the Neviim (e.g., Yehoshua, Eliyahu, Elisha, Yeshayahu). Indeed, in Pirkei Avot 1:1, the Leviim are notably missing from the list of people who transmitted the Torah:
"משֶׁה קִבֵּל תּוֹרָה מִסִּינַי, וּמְסָרָהּ לִיהוֹשֻׁעַ, וִיהוֹשֻׁעַ לִזְקֵנִים, וּזְקֵנִים לִנְבִיאִים, וּנְבִיאִים מְסָרוּהָ לְאַנְשֵׁי כְנֶסֶת הַגְּדוֹלָה."
(And the one example of leadership from the Leviim that we have is the corrupt sons of Eli!)
So what happened to the Leviim?