Read Numbers 27:21 Using Other Translations
And he shall stand before Eleazar the priest, who shall ask counsel for him after the judgment of Urim before the LORD: at his word shall they go out, and at his word they shall come in, both he, and all the children of Israel with him, even all the congregation.
And he shall stand before Eleazar the priest, who shall inquire for him by the judgment of the Urim before the LORD. At his word they shall go out, and at his word they shall come in, both he and all the people of Israel with him, the whole congregation."
When direction from the LORD is needed, Joshua will stand before Eleazar the priest, who will use the Urim—one of the sacred lots cast before the LORD —to determine his will. This is how Joshua and the rest of the community of Israel will determine everything they should do.”