Actually, the Bible is a collection of Books formed to provide a Lectionary for the Mass. It is more accurate to say that the Catholic Church was the editor and publisher of the Bible, not the author.
Peace be to you
New Testament was written by the Apostles for the most part and their direct diciples.
Old Testament, Moses and prophets, King David, Solomon, etc..