The Israeli Bronze Age may have lasted from around 3000BC til something like 1000BC, so it could cover a chunk of the Old Testament but hardly all of it, and it's nowhere near the New Testament at all (roughly between 30-95AD). Meanwhile, famous thinkers like Confucius, Lau Tzu, Aristotle, and Plato, lived after 600BC and were coming up with the kind of wisdom we feel is relevant today, but the Bible had included it centuries before.
So when it was written is pretty irrelevant if the content is timeless, and the idea that it was written by morons is clearly nonsense when it can be compared to the greatest philosophers of all time.
So goat herders?