Deuteronomy 31:28

28 Assemble all your tribal elders and officers before me, so that I may speak these words directly to them and call heaven and earth as witnesses against them.[a]

Deuteronomy 31:28 Meaning and Commentary

Deuteronomy 31:28

Gather unto me all the elders of your tribes, and your
officers
The heads of the tribes, the princes, and all other inferior magistrates:

that I may speak these words in their ears;
not the words of the law, but of the song which he was ordered to write, and is recorded in the following chapter:

and call heaven and earth to record against them;
to bear witness of what he delivered to them, and to bear witness against them should they transgress the laws he gave them; and to bear witness that they had been faithfully cautioned against transgressing, and had been severely threatened, and the punishment plainly pointed out that should be inflicted on them in case of disobedience, so that they were left entirely without excuse.

Deuteronomy 31:28 In-Context

26 "Take this book of the law and place it beside the ark of the covenant of the Lord your God, so that it may remain there as a witness against you.
27 For I know how rebellious and stiff-necked you are. If you are rebelling against the Lord now, while I am still alive, how much more [will you rebel] after I am dead!
28 Assemble all your tribal elders and officers before me, so that I may speak these words directly to them and call heaven and earth as witnesses against them.
29 For I know that after my death you will become completely corrupt and turn from the path I have commanded you. Disaster will come to you in the future, because you will do what is evil in the Lord's sight, infuriating Him with what your hands have made."
30 Then Moses recited aloud every single word of this song to the entire assembly of Israel:

Footnotes 1

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.