Deuteronomy 31:28

28 Gather together to me the heads of your tribes, and your elders, and your judges, and your officers, that I may speak in their ears all these words; and I call both heaven and earth to witness against them.

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 the book of this law, and ye shall put it in the side of the ark of the covenant of the Lord your God; and it shall be there among you for a testimony.
27 For I know thy provocation, and thy stiff neck; for yet during my life with you at this day, ye have been provoking in your conduct toward God: how shall ye not also be so after my death?
28 Gather together to me the heads of your tribes, and your elders, and your judges, and your officers, that I may speak in their ears all these words; and I call both heaven and earth to witness against them.
29 For I know that after my death ye will utterly transgress, and turn aside out of the way which I have commanded you; and evils shall come upon you in the latter days, because ye will do evil before the Lord, to provoke him to anger by the works of your hands. And Moses spoke all the words of this song even to the end, in the ears of the whole assembly.

The Brenton translation of the Septuagint is in the public domain.