And the LORD spake unto Moses that selfsame day, saying, Get thee up into this mountain Abarim, unto mount Nebo, which is in the land of Moab, that is over against Jericho; and behold the land of Canaan, which I give unto the children of Israel for a possession: And die in the mount whither thou goest up, and be gathered unto thy people; as Aaron thy brother died in mount Hor, and was gathered unto his people. (Deuteronomy 32:48–50)
All naturally fly from death, so that no one hastens towards it of his own accord. He would never, therefore, have voluntarily entered the tomb, unless relying on the hope of a better life. We have already seen a similar instance in the case of Aaron: although the resurrection was not then so clearly revealed as it now is by the Gospel, nor had Christ appeared, who is the first-fruits of them that rise again. Wherefore, though our carnal sense may be averse from death, let our faith prevail to overcome all its terrors: even as Paul teaches that God’s children, although they desire not “to be unclothed,” still long to be “clothed upon, that mortality may be swallowed up of life.” (2 Corinthians 5:4.) This, however, was remarkable obedience, to prepare himself no less willingly for death than as if he had been invited to some joyful banquet. Thus it is plain that these holy men had so consecrated themselves to God, that they were ready to live or to die, according to His pleasure.
We must take notice of the consolation, which is here referred to, that the pain of his death was alleviated by the permission to behold the land of Canaan. For this reason he is commanded to get up into the top of the mountain; for, although he would have been satisfied with the mere promise of God, even had he been deprived of this blessing, still it had no slight additional effect in enabling him more cheerfully to leave the people on the threshold of their inheritance. For faith does not altogether deprive God’s children of human feelings; but our heavenly Father in His indulgence has compassion on their infirmity. Thus, as it was a cause of sorrow to Moses to be withheld from entering the land, he was supported by a seasonable remedy, that he might not be hindered in his course by this impediment. (Commentaries)