Números 27

21And 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.
23And he laid his hands upon him, and gave him a charge, as the LORD commanded by the hand of Moses.