Moses gives speeches about laws and the importance of following God before the Israelites enter the Promised Land.
And Joshua the son of Nun was full of the spirit of wisdom; for Moses had laid his hands upon him: and the children of Israel hearkened unto him, and did as the LORD commanded Moses.