Before Joshua lead the people to the promised land, he made himself the servant of Moses for 40 years