Numbers 27:21-23

27:21 And he will stand before Eleazar the priest, who will seek counsel for him before the Lord by the decision of the Urim. At his command they will go out, and at his command they will come in, he and all the Israelites with him, the whole community.”

27:22 So Moses did as the Lord commanded him; he took Joshua and set him before Eleazar the priest and before the whole community. 27:23 He laid his hands on him and commissioned him, just as the Lord commanded, by the authority of Moses.

Deuteronomy 31:9

The Deposit of the Covenant Text

31:9 Then Moses wrote down this law and gave it to the Levitical priests, who carry the ark of the Lord’s covenant, and to all Israel’s elders.