Moses did just as the Lord commanded him; and he took Joshua and set him before Eleazar the priest and before all the congregation.