"The question isn't whether God had any part in choosing the books; the question is, "By what human means did these texts come to be viewed as authoritative?"
Timothy Paul Jones has posted on the human element of Canon selection faced by the early Church. I'm sure you'll find it very interesting.
HT: Trevin Wax