This could be posted so many times over.
“It was written by man?” Yes, 40 men.
They lived over a period of 1,500 years.
That means some of them was born before the others died, and some died before the others were born.
They lived on three different continents.