Moses is traditionally credited as the author of the first five books of the Bible, though this is debated among scholars.
This tradition is reflected in later biblical references, such as Joshua 1:7-8, which refer to 'the law of Moses.' Modern scholarship has proposed various theories about multiple sources and later editorial compilation for these books.