Deuteronomy 31:21

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.”
BSB · Berean Standard Bible
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.

Note against: Heb. before

Note go…: Heb. do

KJV · King James Version
It will happen, when many evils and troubles have come on them, that this song will testify before them as a witness; for it will not be forgotten out of the mouths of their descendants; for I know their ways and what they are doing today, before I have brought them into the land which I promised them.”
WEB · World English Bible
And it shall come to pass, when many evils and troubles are come upon them, that this song shall testify before them as a witness; for it shall not be forgotten out of the mouths of their seed: for I know their imagination which they frame this day, before I have brought them into the land which I sware.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

this song
A sacred song, appointed to be composed by Moses, doubtless under divine inspiration; which the people were required to learn, and teach to their children from generation to generation.
Deuteronomy 31:19
against
Heb. before. I know.
Genesis 6:5; Genesis 8:21; Psalm 139:2; Isaiah 46:10; Ezekiel 38:10, 11; Hosea 5:3; Hosea 13:5, 6; Amos 5:25, 26; John 2:24, 25; Acts 2:23; Acts 4:28