Joshua knew he could take possession of the land after he spied it out. Joshua and Caleb say’s let’s do it. Everyone else reports the negative they see in the land. Moses goes with the majority! And for 40 years--40 years they wander in the wilderness. Joshua knows Moses is taking 40 years of his life, and has to honor Moses anyway. Joshua never dishonored a those is spiritual authority.
Joshua went to the promise land and Moses did not. Joshua went on to fight great battles and win.