(טז) וַיֹּ֨אמֶר יהוה אֶל־מֹשֶׁ֗ה אֶסְפָה־לִּ֞י שִׁבְעִ֣ים אִישׁ֮ מִזִּקְנֵ֣י יִשְׂרָאֵל֒ אֲשֶׁ֣ר יָדַ֔עְתָּ כִּי־הֵ֛ם זִקְנֵ֥י הָעָ֖ם וְשֹׁטְרָ֑יו וְלָקַחְתָּ֤ אֹתָם֙ אֶל־אֹ֣הֶל מוֹעֵ֔ד וְהִֽתְיַצְּב֥וּ שָׁ֖ם עִמָּֽךְ׃ (יז) וְיָרַדְתִּ֗י וְדִבַּרְתִּ֣י עִמְּךָ֮ שָׁם֒ וְאָצַלְתִּ֗י מִן־הָר֛וּחַ אֲשֶׁ֥ר עָלֶ֖יךָ וְשַׂמְתִּ֣י עֲלֵיהֶ֑ם וְנָשְׂא֤וּ אִתְּךָ֙ בְּמַשָּׂ֣א הָעָ֔ם וְלֹא־תִשָּׂ֥א אַתָּ֖ה לְבַדֶּֽךָ׃ (יח) וְאֶל־הָעָ֨ם תֹּאמַ֜ר הִתְקַדְּשׁ֣וּ לְמָחָר֮ וַאֲכַלְתֶּ֣ם בָּשָׂר֒ כִּ֡י בְּכִיתֶם֩ בְּאׇזְנֵ֨י יהוה לֵאמֹ֗ר מִ֤י יַאֲכִלֵ֙נוּ֙ בָּשָׂ֔ר כִּי־ט֥וֹב לָ֖נוּ בְּמִצְרָ֑יִם וְנָתַ֨ן יהוה לָכֶ֛ם בָּשָׂ֖ר וַאֲכַלְתֶּֽם׃ (יט) לֹ֣א י֥וֹם אֶחָ֛ד תֹּאכְל֖וּן וְלֹ֣א יוֹמָ֑יִם וְלֹ֣א ׀ חֲמִשָּׁ֣ה יָמִ֗ים וְלֹא֙ עֲשָׂרָ֣ה יָמִ֔ים וְלֹ֖א עֶשְׂרִ֥ים יֽוֹם׃ (כ) עַ֣ד ׀ חֹ֣דֶשׁ יָמִ֗ים עַ֤ד אֲשֶׁר־יֵצֵא֙ מֵֽאַפְּכֶ֔ם וְהָיָ֥ה לָכֶ֖ם לְזָרָ֑א יַ֗עַן כִּֽי־מְאַסְתֶּ֤ם אֶת־יהוה אֲשֶׁ֣ר בְּקִרְבְּכֶ֔ם וַתִּבְכּ֤וּ לְפָנָיו֙ לֵאמֹ֔ר לָ֥מָּה זֶּ֖ה יָצָ֥אנוּ מִמִּצְרָֽיִם׃ (כא) וַיֹּ֘אמֶר֮ מֹשֶׁה֒ שֵׁשׁ־מֵא֥וֹת אֶ֙לֶף֙ רַגְלִ֔י הָעָ֕ם אֲשֶׁ֥ר אָנֹכִ֖י בְּקִרְבּ֑וֹ וְאַתָּ֣ה אָמַ֗רְתָּ בָּשָׂר֙ אֶתֵּ֣ן לָהֶ֔ם וְאָכְל֖וּ חֹ֥דֶשׁ יָמִֽים׃ (כב) הֲצֹ֧אן וּבָקָ֛ר יִשָּׁחֵ֥ט לָהֶ֖ם וּמָצָ֣א לָהֶ֑ם אִ֣ם אֶֽת־כׇּל־דְּגֵ֥י הַיָּ֛ם יֵאָסֵ֥ף לָהֶ֖ם וּמָצָ֥א לָהֶֽם׃ {פ}
(כג) וַיֹּ֤אמֶר יהוה אֶל־מֹשֶׁ֔ה הֲיַ֥ד יהוה תִּקְצָ֑ר עַתָּ֥ה תִרְאֶ֛ה הֲיִקְרְךָ֥ דְבָרִ֖י אִם־לֹֽא׃ (כד) וַיֵּצֵ֣א מֹשֶׁ֔ה וַיְדַבֵּר֙ אֶל־הָעָ֔ם אֵ֖ת דִּבְרֵ֣י יהוה וַיֶּאֱסֹ֞ף שִׁבְעִ֥ים אִישׁ֙ מִזִּקְנֵ֣י הָעָ֔ם וַֽיַּעֲמֵ֥ד אֹתָ֖ם סְבִיבֹ֥ת הָאֹֽהֶל׃ (כה) וַיֵּ֨רֶד יהוה ׀ בֶּעָנָן֮ וַיְדַבֵּ֣ר אֵלָיו֒ וַיָּ֗אצֶל מִן־הָר֙וּחַ֙ אֲשֶׁ֣ר עָלָ֔יו וַיִּתֵּ֕ן עַל־שִׁבְעִ֥ים אִ֖ישׁ הַזְּקֵנִ֑ים וַיְהִ֗י כְּנ֤וֹחַ עֲלֵיהֶם֙ הָר֔וּחַ וַיִּֽתְנַבְּא֖וּ וְלֹ֥א יָסָֽפוּ׃ (כו) וַיִּשָּׁאֲר֣וּ שְׁנֵֽי־אֲנָשִׁ֣ים ׀ בַּֽמַּחֲנֶ֡ה שֵׁ֣ם הָאֶחָ֣ד ׀ אֶלְדָּ֡ד וְשֵׁם֩ הַשֵּׁנִ֨י מֵידָ֜ד וַתָּ֧נַח עֲלֵהֶ֣ם הָר֗וּחַ וְהֵ֙מָּה֙ בַּכְּתֻבִ֔ים וְלֹ֥א יָצְא֖וּ הָאֹ֑הֱלָה וַיִּֽתְנַבְּא֖וּ בַּֽמַּחֲנֶֽה׃ (כז) וַיָּ֣רׇץ הַנַּ֔עַר וַיַּגֵּ֥ד לְמֹשֶׁ֖ה וַיֹּאמַ֑ר אֶלְדָּ֣ד וּמֵידָ֔ד מִֽתְנַבְּאִ֖ים בַּֽמַּחֲנֶֽה׃ (כח) וַיַּ֜עַן יְהוֹשֻׁ֣עַ בִּן־נ֗וּן מְשָׁרֵ֥ת מֹשֶׁ֛ה מִבְּחֻרָ֖יו וַיֹּאמַ֑ר אֲדֹנִ֥י מֹשֶׁ֖ה כְּלָאֵֽם׃ (כט) וַיֹּ֤אמֶר לוֹ֙ מֹשֶׁ֔ה הַֽמְקַנֵּ֥א אַתָּ֖ה לִ֑י וּמִ֨י יִתֵּ֜ן כׇּל־עַ֤ם יהוה נְבִיאִ֔ים כִּי־יִתֵּ֧ן יהוה אֶת־רוּח֖וֹ עֲלֵיהֶֽם׃ (ל) וַיֵּאָסֵ֥ף מֹשֶׁ֖ה אֶל־הַֽמַּחֲנֶ֑ה ה֖וּא וְזִקְנֵ֥י יִשְׂרָאֵֽל׃
(16) Then יהוה said to Moses, “Gather for Me seventy of Israel’s elders of whom you have experience as elders and officers of the people, and bring them to the Tent of Meeting and let them take their place there with you. (17) I will come down and speak with you there, and I will draw upon the spirit that is on you and put it upon them; they shall share the burden of the people with you, and you shall not bear it alone. (18) And say to the people: Purify yourselves for tomorrow and you shall eat meat, for you have kept whining before יהוה and saying, ‘If only we had meat to eat! Indeed, we were better off in Egypt!’ יהוה will give you meat and you shall eat. (19) You shall eat not one day, not two, not even five days or ten or twenty, (20) but a whole month, until it comes out of your nostrils and becomes loathsome to you. For you have rejected יהוה who is among you, by whining before [God] and saying, ‘Oh, why did we ever leave Egypt!’” (21) But Moses said, “The people who are with me number six hundred thousand foot soldiers; yet You say, ‘I will give them enough meat to eat for a whole month.’ (22) Could enough flocks and herds be slaughtered to suffice them? Or could all the fish of the sea be gathered for them to suffice them?” (23) And יהוה answered Moses, “Is there a limit to יהוה’s power? You shall soon see whether what I have said happens to you or not!” (24) Moses went out and reported the words of יהוה to the people. He gathered seventy of the people’s elders and stationed them around the Tent. (25) Then, after coming down in a cloud and speaking to him, יהוה drew upon the spirit that was on him and put it upon the seventy participating elders. And when the spirit rested upon them, they spoke in ecstasy, but did not continue. (26) Two of the participants, one named Eldad and the other Medad, had remained in camp; yet the spirit rested upon them—they were among those recorded, but they had not gone out to the Tent—and they spoke in ecstasy in the camp. (27) An assistant ran out and told Moses, saying, “Eldad and Medad are acting the prophet in the camp!” (28) And Joshua son of Nun, Moses’ attendant from his youth, spoke up and said, “My lord Moses, restrain them!” (29) But Moses said to him, “Are you wrought up on my account? Would that all יהוה’s people were prophets, that יהוה put [the divine] spirit upon them!” (30) Moses then reentered the camp together with the elders of Israel.
סנהדרין גדולה היתה של שבעים ואחד וקטנה של עשרים ושלשה מנין לגדולה שהיא של שבעים ואחד שנאמר (במדבר יא, טז) אספה לי שבעים איש מזקני ישראל ומשה על גביהן ר' יהודה אומר שבעים

The Great Sanhedrin was composed of seventy-one judges, and a lesser Sanhedrin was composed of twenty-three. From where is it derived that the Great Sanhedrin was composed of seventy-one judges? As it is stated: “Gather Me seventy men of the Elders of Israel” (Numbers 11:16), and together with Moses at the head of them. Rabbi Yehuda says: just seventy judges.

ומה נבואה נתנבאו אמרו משה מת יהושע מכניס את ישראל לארץ אבא חנין אומר משום רבי אליעזר על עסקי שליו הן מתנבאים עלי שליו עלי שליו רב נחמן אמר על עסקי גוג ומגוג היו מתנבאין שנאמר (יחזקאל לח, ג) כה אמר יהוה אלהים האתה הוא אשר דברתי בימים קדמונים ביד עבדי נביאי ישראל הנבאים בימים ההם שנים להביא אותך עליהם וגו' אל תיקרי שנים אלא שנים ואיזו הן שנים נביאים שנתנבאו בפרק אחד נבואה אחת הוי אומר אלדד ומידד
Apropos Eldad and Medad being prophets, the Gemara asks: And what prophecy did they prophesy? They said: Moses will die, and Joshua will bring the Jewish people into Eretz Yisrael. Abba Ḥanin says in the name of Rabbi Eliezer: They prophesied about the matter of the quail that came afterward (Numbers 11:31–33), saying: Arise quail, arise quail, and then the quail came. Rav Naḥman says: They were prophesying about the matter of Gog and Magog, as it is stated with regard to Gog and Magog: “So says the Lord God: Are you the one of whom I spoke in ancient days, through my servants, the prophets of Israel, who prophesied in those days for many years [shanim] that I would bring you against them?” (Ezekiel 38:17). Do not read it as: “Years [shanim]”; rather, read it as: Two [shenayim]. And who are the two prophets who prophesied the same prophecy at the same time? You must say: Eldad and Medad.