filled with the spirit of wisdom: God chose Joshua to lead Israel after Moses died. Joshua needed the Spirit of God in order to be Israel's leader (Numbers 27:15–23; compare Numbers 11:16–30).
After Moses died, God showed that Joshua was his divinely chosen successor by giving clear evidence of the Spirit’s power and blessing.