The Bible, being the Word of God, was written by God. That God used His creation, man, to write the Word of God should in no way diminish that Word.
By your own admission, the Bible was written by men. Men are not God. Men are flawed. The word of God written by men might have a few errors.