God wrote the Torah and signed it with Moses’ name.
Although we refer to “the Torah of Moses,” it is actually the Torah of God, with Moses serving as His scribe.
There are beautiful descriptions of the death of Moses–of how he wrote the words that God dictated to him, including the description of his own death (something that the human mind cannot fathom), which was possible only because he identified so completely with the Almighty.
–Rabbi Adin Steinsaltz