And Joshua the son of Nun was full of the spirit of wisdom,
&c.] The successor of Moses, and who, by the spirit of wisdom on him, was abundantly qualified for the government of the people of Israel; in which he was a type of Christ, on whom the spirit of wisdom and understanding is said to rest, ( Isaiah 11:2 ) ;
for Moses had laid his hands upon him;
which was a symbol of the government being committed to him, and devolving upon him after his death, and expressive of prayer for him, that he might be fitted for it, of which action see ( Numbers 27:23 ) ;
and the children of Israel hearkened unto him, and did as the Lord
commanded Moses;
or by the hand of Moses; they received him and owned him as their supreme governor under God, and yielded a cheerful obedience to his commands, as the Lord by Moses commanded them to do, and as they promised; see ( Joshua 1:16-18 ) .