God who knows what’s going to happen long before it does spoke to Moses of a time that would come to pass after his death. He told Moses how the people would turn from Him and go after other gods and would forsake Him. He also told him they would break the covenant which He had made with them!
When Gods anger is kindled against them for turning away from Him,they will at that time say,”Are not these evils come upon us,because our God is not among us?(Deuteronomy 31:14-22).
Although this time and song is found in the book of Deuteronomy which God instructed Moses to write,it is also for a future time as we read of it in the book of Revelation. It is the “Song of Moses” that will be sung by the servants of God who have gotten the victory over the beast, and over his image, and over his mark and over the number of his name.(Revelation 15:1-4). And I saw another sign in heaven, great and marvellous, seven angels having the seven last plagues; for in them is filled up the wrath of God.2 And I saw as it were a sea of glass mingled with fire: and them that had gotten the victory over the beast, and over his image, and over his mark, and over the number of his name, stand on the sea of glass, having the harps of God.3 And they sing the song of Moses the servant of God, and the song of the Lamb, saying, Great and marvellous are thy works, Lord God Almighty; just and true are thy ways, thou King of saints.4 Who shall not fear thee, O Lord, and glorify thy name? for thou only art holy: for all nations shall come and worship before thee; for thy judgments are made manifest.