Now I am about to go the way of all the earth. You know with all your heart and soul that not one of all the good promises the LORD your God gave you has failed. Every promise has been fulfilled; not one has failed. But just as all the good things the LORD your God has promised you have come to you, so he will bring on you all the evil things he has threatened, until the LORD your God has destroyed you from this good land he has given you. If you violate the covenant of the LORD your God, which he commanded you, and go and serve other gods and bow down to them, the LORD’s anger will burn against you, and you will quickly perish from the good land he has given you.
John Calvin
As it has been appointed unto all men once to die, (Heb 9:27) Joshua says that in regard to himself the common end of all is at hand, inasmuch as he, too, was born mortal. These expressions are evidently adapted to console the people and prevent them from feeling immoderate grief at the bereavement when he should be taken from them. For there cannot be a doubt that his loss filled the people with the deepest regret, when they saw themselves reduced, as it were, to a mutilated trunk, by being deprived of their head. He therefore admonishes them, that since the race of life is ended by having reached the goal, they were not to ask that his condition should be different from that of the whole human race. Meanwhile he does not intimate that the form of dying is the same in all, because the believers of heavenly doctrine are distinguished from unbelievers by an incorruptible seed, not allowing them in like manner to perish, but only adverts to that which is common, namely, departure from the world after the course of life is ended. The substance of his whole address amounts to this, that as God had proved himself true by his favours and the fulfilment of his promises, so his threatening would not be empty or vain, and he would certainly avenge the profanation of his worship by their final destruction.