So Moses did as the lord commanded. He presented Joshua to Eleazar the priest and the whole community.