Passage
That Moses commanded the Levites, which bare the ark of the covenant of the LORD, saying,
That Moses commanded the Levites, which bare the ark of the covenant of the LORD, saying,
Deuteronomy 31:23 And he gave Joshua the son of Nun a charge, and said, Be strong and of a good courage: for thou shalt bring the children of Israel into the land which I sware unto them: and I will be with thee.
Deuteronomy 31:24 And it came to pass, when Moses had made an end of writing the words of this law in a book, until they were finished,
Deuteronomy 31:25 That Moses commanded the Levites, which bare the ark of the covenant of the LORD, saying,
Deuteronomy 31:26 Take this book of the law, and put it in the side of the ark of the covenant of the LORD your God, that it may be there for a witness against thee.
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 the LORD; and how much more after my death?
The verse centers on "moses", "commanded", "levites", "bare", "covenant", "lord", and "saying". It is saying that the verse draws attention to "moses" and "commanded", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 24's "And it came to pass when Moses..." into verse 26's "Take this book of the law and...", so "moses" and "commanded" 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 "moses" and "commanded" with trust shaped by these words, not by a vague optimism outside the passage.