Another interpretation (of Numb. 31:2:) “Exact vengeance for the Children of Israel.” This text is related (to Job 36:7), “He does not withdraw His eyes from a righteous person […].” What is the meaning of “He does not withdraw His eyes from a righteous person (literally, withdraw from a righteous person his eyes)?” The Holy One, blessed be He, does not keep back from a righteous person what he wants to see with his eyes.<sup class="footnote-marker">13</sup><i class="footnote">Numb. R. 22:5.</i> [The text] teaches that Moses longed to see vengeance on the Midianites before he died, and [so] he requested from the Holy One, blessed be He, about it, that he should [see it] with his eyes. Thus it is stated concerning him (in Ps. 58:11), “A righteous person will rejoice when he sees vengeance, he will bathe his feet in the blood of the wicked person.” (Ibid.:) “A righteous person will rejoice,” this refers to Moses; “when he sees vengeance,” i.e., vengeance on Midian; “he will bathe his feet in the blood of the wicked person,” i.e., of Balaam. Moses said to Phinehas and the warring men, “I know that Balaam the Wicked is there, as he went to collect his wage. Before the wolf comes to the flock, spread the trap for him. And if you see that that wicked man is doing magic, show him the diadem, upon which it is written (according to Exod. 28:36), ‘holy to the Lord.’ And [when] he shall [then] fall, kill him.” (Numb. 31:8:) “And upon their [other] corpses they killed the kings of Midian,” as they were doing magic with Balaam and flying in the air; so they showed them the diadem and they fell upon their corpses. The sages said “It is written about Joshua (in Josh 1:5), ‘as I was with Moses, so I will be with you.’ So Joshua should have lived a hundred and twenty years like Moshe our teacher. And why were they shortened by ten years? Because at the time that the Holy One, blessed be He, said to Moses (in Numb. 31:2), ‘Exact vengeance for the Children of Israel…,’ even though the announcement of [his] death was [also] announced, he did not say, ‘Tomorrow I will die; what benefit is it to me to exact vengeance from Midian?’ Rather, he showed alacrity in the whole matter, as stated (in Numb. 31:6), ‘And Moses sent them.’ But Joshua did not do like this. When he came to war against thirty-one kings, he said, ‘If I kill them, I will die immediately, as happened to Moshe our teacher.’ What did he do? He began with one and stalled in the war [with the rest], as stated (in Josh. 11:18), ‘Joshua waged war with all those kings over a long period.’ [So] the Holy One, blessed be He, said to him, ‘See that I will shorten your years by ten years.’ David said (about this in Prov. 19:21), ‘Many thoughts are in the heart of a man, [but it is the counsel of the Lord that will stand].’”