Numbers 27:22-23 New King James Version (NKJV)

22. So Moses did as the Lord commanded him. He took Joshua and set him before Eleazar the priest and before all the congregation.

23. And he laid his hands on him and inaugurated him, just as the Lord commanded by the hand of Moses.

Numbers 27