The Bible is written from the perspective of man. It's not written from God's perspective.
Yes, God inspired the authors to write what they wrote, but that doesn't mean that everything was made clear to them so that they understood everything they saw and wrote about.
So, God inspired man to write what was not really true.
That works for Calvinists, but not the rationally minded.
--Dave