“And he showed me Joshua the high priest standing before the angel of the L-rd, and Satan standing at his right hand to thwart him.” – Zechariah 3:4
In parashas Beha’alotecha, a brief description of a critique against Moses is given, concerning Miriam and Aaron, co-leaders of Israel (see Micah 6:4) as well as prophets in their own right, who feel diminished by Moshe’s apparent uniqueness, when he separates himself out from family life, in order to be more prepared to receive H’Shem’s presence at all times. And they said: ‘Hath the L-RD indeed spoken only with Moses? hath He not spoken also with us?’ And the L-RD heard it” (Numbers 12:2).
H’Shem responds by rebuking Miriam and Aaron, reminding them that the level of prophecy that Moses received is such that the L-RD speaks with him face to face, and that Moses is the trusted one in all His house. He asks Miriam and Aaron, “wherefore then were ye not afraid to speak against My servant, against Moses?” (Numbers 12:8, JPS).
Then H’Shem strikes Miriam with leprosy; although, upon Moshe’s immediate plea to heal her, the L-Rd heals her; yet, she is placed in quarantine for seven days. She as treated as a metzorah (similar to a leper), wherein she is removed to the outer limits of the camp. This, like any metzorah who receives the same treatment, will give Miriam time to reflect.
Thus, as mentioned in the haftorah, for the sake of comparison, and this is the parallel theme to the parasha, an accusation made against Joshua, the next kohein gadol (high priest), and his subsequent acquittal, so to speak, through the defense laid out by the prophet Zechariah.
Although we are not on the same level as Moses or Joshua, the kohein gadol, we are still subject to the protection of H’Shem if we are in good standing with Him. G-d is our defense, he will avail us, when we are in need, on an individual basis, if place our trust in Him. And, he will also redeem us as a people, K’lal Yisrael, in due time at the Final Redemption.