Another matter, what is hen? Rabbi Sima said: The day raised a grievance before the Holy One blessed be He. It said: ‘Master of the universe, I will not move and will not set, as long as Moses is alive.’4Since the day had arrived for Moses to die and for Joshua to take over, metaphorically the day would not end before the transition took place (Etz Yosef). Another matter, the Rabbis said: Since Moses knew that he was supposed to die on that day, what did he do?
Rabbi Yanai said: He wrote thirteen Torah scrolls; twelve for the twelve tribes, and one, he placed in the Ark, so that if one would seek to falsify a matter, they would be able to find the one that is in the Ark. Moses said: ‘By means of me being engaged in the Torah, which is all life, the day will set and the decree will be nullified.’ What did the Holy One blessed be He do? He signaled to the sun, but it stood obstinate against Him.
It said: ‘I will not set as long as Moses exists in this world.’ That is why Job said: “Truly, I wept for the downtrodden [keshe yom], [my soul grieved for the indigent]” (Job 30:25) – as the day was obstinate [nitkasha] against Him.5Job is saying that he wept for Moses, who died after the day was obstinate before God. “Hen” – what is “behold, your days are approaching”? It is like a person who says to another: ‘So-and-so filed a grievance against you before the king.’
“Summon Joshua” – he [Moses] said before Him: ‘Master of the universe, let Joshua take my kingdom, but I will live.’ The Holy One blessed be He said to him: ‘Act to him just as he acts to you.’ Immediately, Moses awakened and went to Joshua’s residence. Joshua became afraid, and Moses said: ‘My master, come to me.’
They went out to walk. Moses walked to Joshua’s left. They entered the Tent of Meeting. The pillar of cloud descended and partitioned between them.
When the pillar of cloud ascended, Moses went to Joshua and said: ‘What did the Divine Speech say to you?’ Joshua said to him: ‘When the Divine Speech was revealed to you, would I know what it was speaking with you?’6Just like Moses did not report to Joshua on everything that God spoke to him, similarly Joshua would not report to Moses. At that moment, Moses shouted and said: ‘One hundred deaths, but not one [instance of] jealousy.’
Solomon articulated it: “As love is as intense as death, jealousy is as cruel as the grave” (Song of Songs 8:6) – the love that Moses loved Joshua, and the fact that Moses was jealous of Joshua. Once he accepted that he would die, the Holy One blessed be He began to placate him. He said to him: ‘In this world, you led My children. In the future, too, I will lead them through you.’ From where is it derived? It is as it is stated: “He remembered the days of old, Moses, His people” (Isaiah 63:11).