In fact, archaeology indicates that Adam wrote, and along with others such as Noah, Shem, Isaac and Jacob provided written documents from which Moses compiled the book of Genesis, down to Ge chapter 37 verse 2.
... George Smith, staff member of the British Museum, in his book Chaldean Account of Genesis, translates the writing found on an ancient fragment which tells of the destruction of one of the Babylonian temple towers, as follows: “The building of this temple offended the gods.