Passage
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 that which is evil in the sight of Jehovah, to provoke him to anger through the work of your hands.
Nearby Context
Deuteronomy 31:27 For I know thy rebellion, and thy stiff neck: behold, while I am yet alive with you this day, ye have been rebellious against Jehovah; and how much more after my death?
Deuteronomy 31:28 Assemble unto me all the elders of your tribes, and your officers, that I may speak these words in their ears, and call heaven and earth to witness against them.
Deuteronomy 31:29 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 that which is evil in the sight of Jehovah, to provoke him to anger through the work of your hands.
Deuteronomy 31:30 And Moses spake in the ears of all the assembly of Israel the words of this song, until they were finished.
Study Lenses
The verse centers on "after", "death", "utterly", "corrupt", "yourselves", "turn", "aside", and "commanded". It is saying that the verse draws attention to "after" and "death", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 28's "Assemble unto me all the elders of..." into verse 30's "And Moses spake in the ears of...", so "after" and "death" belong inside that flow. In Deuteronomy context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "after" and "death" with trust shaped by these words, not by a vague optimism outside the passage.