What comforted Moshe when he was told that his death was approaching?
According to the cited Midrash, Moshe could choose a thousand years of life, but Israel would then not merit seeing retribution against Midyan. He chose retribution for his people because human life is finite in any case, whereas its result would endure forever. The Ohr Hachaim explains that this mission comforted Moshe and accounts for the connection between Hashem's words and the command that follows.
Quote from the source«Hashem’s answer was that he should avenge Klal Yisroel’s anger from the Midyanim.»
- Author
- Ohr Hachaim
- Source
- Ohr Hachaim Hakadosh — Ohr Hachaim Hakadosh — מטות מסעי אור החיים — Matos-Massei 5783, p. 2
- Parsha
- Matot