For I know that after my death you will surely act corruptly and turn aside from the way that I have commanded you. And in the days to come evil will befall you, because you will do what is evil in the sight of the LORD, provoking him to anger through the work of your hands.”
Here, I. The charge is given to Joshua, which God has said (v. 14) he would give him. The same in effect that Moses had given him. The same in effect that Moses had given him (v. 7): Be strong and of a good courage, v. 23.
Commenting on Deuteronomy 31:22-30
And Moses spake in the ears of all the congregation of Israel,.... Not in the hearing of the whole body of the people, and every individual thereof; no man could be able to speak to such a numerous congregation, as that they should hear him; but in the hearing of their heads and representatives, the elders of their tribes and officers, ordered to be gathered...
For I know that after my death ye will utterly corrupt [yourselves], and turn aside from the way which I have commanded you; and evil will befall you in the latter days; because ye will do evil in the sight of the LORD, to provoke him to anger through the work of your hands. (o) By idolatry, and worshipping images, which are the work of your hands.