Torah Temimah on this passuk (citation pointer only). Core text is Chazal — Yehoshua’s “imprison them.”
English: “My lord Moshe, imprison them.”
Category D — Conceptual / logical / legal / theological / ethical inference.
Method: Yehoshua’s urgent request to restrain Eldad and Meidad is read as an expression of his zeal and concern for Moshe’s standing as his teacher.
Textual trigger: “אֲדֹנִי מֹשֶׁה כְּלָאֵם” (Bamidbar 11:28).
Yehoshua seeks to stop the prophecy outside Moshe’s circle.