A lot of times, we don’t know. And that’s okay.
No, the answer’s not “God.”
The bible was written by
“God wrote it” is the short answer people give when we’ve no clue how God works. We assume God did with his prophets the same as he did with Moses: He stated a bunch of things, and the prophets took dictation like a secretary. Or they assume
Generally they’ve got
So yeah, whenever some skeptic states, “The bible was written by men”—okay it was. And so what? The dictionary was likewise written by women and men, and I don’t see ’em dismissing the dictionary as unauthoritative. Those who wrote the dictionary, know what they’re talking about. Same deal with the prophets who wrote the bible: They knew God. They wrote what they knew. Their testimonies are trustworthy, solid stuff. We should be able to easily defer to their knowledge: The God they describe is the very same God we know.
God didn’t have to write the bible in order for it to accurately, infallibly describe him.
Okay. As for which prophets wrote the bible: We know the names of a number of its authors. The New Testament letters have their authors’ names on ’em.