If, as many here assert, the Bible is the “word of God”, then the Almighty God is the author and not some Palestinian peasants.
God is the Author, but he used a number of people from various backgrounds as His scribes. Not all were "some Palestinian peasants".
Luke was a physican
Paul was a scholar and theologian (probably a member of the Sanhedrin)
Moses was a prince of Egypt
Ezra was a priest
Solomon was a king
David was a king
Not that they were necessarily any better at writing down the word of God than were those who were "some Palestinian peasants."