The Bible, from Genesis to Revelation, is a divinely inspired book written by the prophets of God ( 2 Pet 1:20-21). Thus the Holy Spirit is the principal author of the holy scriptures. Hence the Bible is inerrant and infallible in its message( Jn 17:17). So we call the message the Word of God ( Heb 1:1& 2).
The Holy Scriptures shall lead us to Jesus Christ( Jn 5:39).