The bible was inspired by God, and written down by his people. The Old testiment is based on the Torah, and the New Testiment was written by the followers of Jesus. Not so much the word of God, but words about God and his teacings. Sort of like if I taught a class, and then someone wrote a book on what I was teaching, but in Greek or Chinese. Sometimes the words change, or they get rewritten in another language. The bible has many anonymous authors. But the Ten Commandments and other things were written by God and then copied by Moses, or some other holy person.