But, But, But ... you mean it is God's word and we don't even know when it was written? And in what order?
The copyright office was closed at the time. The miracle of the bible is in facts its different authors in different times resulting in a consistant whole.
However, your insinuation that scripture wasn't codified until 400 is very misleading. There were numerous authorities who used references to it in their writings much before 400. In addition, the ones left out were written much later.
Most of the writings were written when the people they referenced were still alive and still able to refute the claims. I