Moshe began Shiras HaAzinu by calling on the heavens and the earth to be witnesses to his words. He compared Torah to rain as it is the source of life. He also explained that HaShem’s actions are proper and just.
Bnei Yisrael’s wealth and beracha will cause them to forget HaShem and to think that their success came only as a result of their own strength. HaShem would then punish them and send them into Galus. Then Bnei Yisrael will do Teshuvah and HaShem in his mercy will redeem them.
HaShem commanded Moshe to go up to Har Nevo in order to see Eretz Yisrael prior to his death.