I thought they said Moses wrote it.
Oh apparently not.
Until the late nineteenth century, the consensus view of biblical scholars was that Moses wrote these first five books of the Bible. The Church father Jerome (ad 340–427), however, suggested that Ezra the Priest wrote the Pentateuch in the fifth century bc based on notes made by Moses.