The Netziv explains this more fully. He addresses why the Torah’s testimony concerning Moshe’s humility... · לב אהרן - ויקרא
לב אהרן - ויקראוכן כתב הנצי"ב ביתר ביאור, ראה שם שביאר את שייכותה של עדות התורה על ענוותנותו של משה דוקא כאן, בסיפור הלשון הרע שדברו בו מרים ואהרן, וביאר הנצי"ב, שהוצרכה התורה להודיע, כי עונשה של מרים לא היה בכדי לקנא על חלישות הדעת שנגרמה למשה מזה ולהפיס את דעתו, כי משה לא חשש לזה כלל, מפני שהיה עניו מאד, אלא לכך גזר ה' להענישה, מפני שהשוו בדבריהם את משה לשאר הנביאים, ושלילת הדעה הזו, בהודעת כח מעלתו של משה שהוא למעלה מכל הנבואות, היא מעיקרי התורה.
The Netziv explains this more fully. He addresses why the Torah’s testimony concerning Moshe’s humility appears specifically here, in the account of the *lashon hara* spoken about him by Miriam and Aharon. The Netziv explains that the Torah needed to inform us that Miriam’s punishment was not intended to avenge the distress caused to Moshe or to appease him. Moshe was entirely unconcerned with the affront, because he was exceedingly humble. Rather, Hashem decreed that she be punished because her words equated Moshe with the other prophets. Rejecting this view, and establishing the unique greatness of Moshe’s prophecy above that of every other prophet, is one of the foundations of the Torah.
And the Netziv wrote this more fully as well. See there, where he explained why the Torah’s testimony to Moses’ humility is mentioned דווקא here, in the account of the slander spoken against him by Miriam and Aaron. The Netziv explained that the Torah needed to inform us that Miriam’s punishment was not intended to avenge the hurt feelings caused to Moses by this incident and to appease him, for Moses was not concerned about that at all, since he was exceedingly humble. Rather, God decreed her punishment because in their words they had equated Moses with the other prophets, and the rejection of this view, by declaring the greatness of Moses’ stature—that he stands above all prophecy—is one of the fundamental principles of the Torah.
כפי שיסד הרמב"ם בעיקר השביעי: "אני מאמין באמונה שלמה שנבואת משה רבנו ע"ה היתה אמיתית, ושהוא היה אב לנביאים, לקודמים לפניו ולבאים אחריו".
As the Rambam established in the seventh principle of faith: > “I believe with perfect faith that the prophecy of Moshe Rabbeinu, peace be upon him, was true, and that he was the father of all prophets—those who preceded him and those who came after him.”
As Maimonides set forth in the seventh principle: “I believe with perfect faith that the prophecy of our teacher Moses, עליו השלום, was true, and that he was the father of the prophets, both of those who preceded him and of those who came after him.”