Common wisdom has it that Yehoshua Ben Gamla, in either the first century CE or the first century BCE, instituted universal Jewish education. This is probably wrong.
התקינו שיהו מושיבין מלמדי תינוקות בירושלים מאי דרוש (ישעיהו ב, ג) כי מציון תצא תורה ועדיין מי שיש לו אב היה מעלו ומלמדו מי שאין לו אב לא היה עולה ולמד התקינו שיהו מושיבין בכל פלך ופלך ומכניסין אותן כבן ט"ז כבן י"ז
ומי שהיה רבו כועס עליו מבעיט בו ויצא עד שבא יהושע בן גמלא ותיקן שיהו מושיבין מלמדי תינוקות בכל מדינה ומדינה ובכל עיר ועיר ומכניסין אותן כבן שש כבן שבע
(ו) יְהוֹשֻׁעַ בֶּן פְּרַחְיָה וְנִתַּאי הָאַרְבֵּלִי קִבְּלוּ מֵהֶם. יְהוֹשֻׁעַ בֶּן פְּרַחְיָה אוֹמֵר, עֲשֵׂה לְךָ רַב, וּקְנֵה לְךָ חָבֵר, וֶהֱוֵי דָן אֶת כָּל הָאָדָם לְכַף זְכוּת:
(6) Joshua ben Perahiah and Nittai the Arbelite received [the oral tradition] from them. Joshua ben Perahiah used to say: appoint for thyself a teacher, and acquire for thyself a companion and judge all men with the scale weighted in his favor.
And he said, "acquire for yourself a friend". He said it with an expression of acquisition and he did not say, "Make for yourself a friend," or "Befriend others." The intention of this is that a person must acquire a friend for himself, so that all of his deeds and all of his matters be refined through him, as they said (Taanit 23a), "Either a friend or death." And if he does not find him, he must make efforts for it with all his heart, and even if he must lead him to his friendship, until he becomes a friend. And [then] he must never let off from following [his friend's] will, until his friendship is firmed up. [It is] as the masters of ethics say, "When you love, do not love according to your traits; but rather love according to the trait of your friend." And when each of the friends has the intention to fulfill the will of his friend, the intention of both of them will be one without a doubt. And how good is the statement of Aristotle, "The friend is one."
(כא) הוּא הָיָה אוֹמֵר, בֶּן חָמֵשׁ שָׁנִים לַמִּקְרָא, בֶּן עֶשֶׂר לַמִּשְׁנָה, בֶּן שְׁלשׁ עֶשְׂרֵה לַמִּצְוֹת, בֶּן חֲמֵשׁ עֶשְׂרֵה לַתַּלְמוּד, בֶּן שְׁמֹנֶה עֶשְׂרֵה לַחֻפָּה, בֶּן עֶשְׂרִים לִרְדֹּף, בֶּן שְׁלשִׁים לַכֹּחַ, בֶּן אַרְבָּעִים לַבִּינָה, בֶּן חֲמִשִּׁים לָעֵצָה, בֶּן שִׁשִּׁים לַזִּקְנָה, בֶּן שִׁבְעִים לַשֵּׂיבָה, בֶּן שְׁמֹנִים לַגְּבוּרָה, בֶּן תִּשְׁעִים לָשׁוּחַ, בֶּן מֵאָה כְּאִלּוּ מֵת וְעָבַר וּבָטֵל מִן הָעוֹלָם:
(21) He used to say: At five years of age the study of Scripture; At ten the study of Mishnah; At thirteen subject to the commandments; At fifteen the study of Talmud; At eighteen the bridal canopy; At twenty for pursuit [of livelihood]; At thirty the peak of strength; At forty wisdom; At fifty able to give counsel; At sixty old age; At seventy fullness of years; At eighty the age of “strength”; At ninety a bent body; At one hundred, as good as dead and gone completely out of the world.


