Deuteronomy 34:9

Now Joshua the son of Nun was full of the spirit of wisdom, for Moses had laid his hands on him; so the children of Israel heeded him, and did as the LORD had commanded Moses.