Moses made Joshua take over him before he died .
Moses appointed Joshua , son of Nun , to succeed him as the leader of the Israelites . Moses then died at the age of 120 .