“His sister positioned herself at a distance to know what would happen to him” (Exodus 2:4). “His sister positioned herself at a distance.” Why did Miriam stand at a distance? Rabbi Amram said in the name of Rav: It is because Miriam had been prophesying and saying: ‘My mother is destined to bear a son who will redeem Israel.’
When Moses was born the house was filled with light. Her father stood and kissed her on her head. He said to her: ‘My daughter, your prophecy has been fulfilled.’ That is what is written: “Miriam the prophetess, sister of Aaron, took the drum” (Exodus 15:20). [Was she] the sister of Aaron but not the sister of Moses?
Rather, she said this prophecy when she was the sister of Aaron, and Moses had not yet been born. When they cast him into the Nile, her mother stood and struck her on her head. She said to her: ‘Where is your prophecy?’ That is what is written: “His sister positioned herself at a distance [to know]” – to know what would be the fate of her prophecy.
The Rabbis say: The entire verse is stated as an allusion to the Divine Spirit: “Positioned herself [vatetatzav],” alluding to: “The Lord came and stood [vayityatzev]” (I Samuel 3:10); “his sister,” alluding to: “Say to wisdom: You are my sister” (Proverbs 7:4); “at a distance,” alluding to: “From a distance the Lord appeared to me” (Jeremiah 31:2); “to know [lede’a] what would happen to him,” alluding to: “As the Lord is a God of knowledge [de’ot]” (I Samuel 2:3).