If you're at all interested in understanding this further, We do actually know at least exactly where the New Testament comes from, as it is the most well documented set of texts in human history. And while the old testament is more debatable, even the earliest iterations we've come across match word for word copies aged thousands of years apart, another feat entirely unheard of in any other set of texts.
Not really the place for this discussion, but it is a fascinating subject.