The Bible is inspired of God. But some may think, The Bible was written by men, so how can it be from God? The Bible answers: Men spoke from God as they were moved or, guided by holy spirit.
This is similar to a businessman telling his secretary to write a letter. Who is the author of the letter? It is the businessman, not the secretary.
In the same way, the Author of the Bible is God, not the men he used to write it. God guided them to write his thoughts. The Bible really is the word of God.