Moses
Deuteronomy 31:21BSB·traditional attribution

And when many troubles and afflictions have come upon them, this song will testify against them, because it will not be forgotten from the lips of their descendants. For I know their inclination, even before I bring them into the land that I swore to give them.”

Matthew Henry Presbyterian @wholebiblehenry

Here, I. Moses and Joshua are summoned to attend the divine majesty at the door of the tabernacle, Deu 31:14. Moses is told again that he must shortly die; even those that are most ready and willing to die have need to be often reminded of the approach of death.

Commenting on Deuteronomy 31:14-21

John Gill Reformed Baptist @doctorgill

Moses therefore wrote this song the same day,.... The same day it was dictated to him by divine inspiration; he wrote it, as Josephus says (d),"in hexameter verse, which he left in the holy Bible or book (the Pentateuch), containing (as he adds) a prophecy of things future, according to which all things have been done, and are done; and in nothing of it has...

Geneva Bible Notes Reformed @genevanotes

And it shall come to pass, when many evils and troubles are befallen them, that this song shall testify against them as a witness; for it shall not be forgotten out of the mouths of their seed: for I know their imagination which they go about, even now, before I have brought them into the land which I sware.