Moses did as the Lord had commanded him. He made Joshua stand before Eleazar the priest and the whole community.