Joshua is commissioned as leader of the Israelites
Moses had Joshua stand before Eleazar and the congregation and commissioned him as leader of the Israelites.
Key passages
Nu 27:22–23

Moses did just as Yahweh commanded him, and he took Joshua and set him before Eleazar the priest and before the entire community. And he placed his hands on him and commissioned him just as Yahweh spoke by the hand of Moses.

Dt 31:14–15

Then Yahweh said to Moses, “Look, you are about to die; call Joshua and present yourselves in the tent of assembly, so that I may instruct him.” So Moses and Joshua went and presented themselves in the tent of assembly. And Yahweh appeared in the tent in a column of cloud, and the column …

Dt 31:23

Then he told Joshua the son of Nun, and said to him, “Be strong and be courageous, for you shall bring the Israelites into the land that I swore to them, and I will be with you.”