sandorski
No Lifer
Wouldn't even have to be that complicated.
I've often joked that if there was a truly omnibenevolent god who loved his people and wanted them to be healthy and happy, he would have replaced one of three he reserved for his own ego with "Thou shalt wash thy hands with soap and water before every meal and whenever they are soiled". To be fair, there are quite a few things in the OT about cleanliness, but most of them are oriented around ritual cleanliness. There's very little indication in there that the writers knew even the fundamentals of health science or any other type of science.
All the various Hygiene and dietary type Laws would have been based on understood principles of the time, at least in the local area or perhaps based upon the immediate cultural understanding gained through experience. Even the various attempts to describe the Earth and Universe tended to change depending on when various parts of the Bible were written and they echoed popular understanding of the time.
It seems quite clear to me that most of the Authors merely attributed "God" to things as an attempt to understand that which they couldn't understand at the time. Even when someone was declared to have talked to "god" or seen a Vision was likely just the Authors attempt to understand how someone may have "known" something. Some of those people, I propose, likely just made the right choice from sheer luck, although some probably just had a relatively higher capacity for Intelligence which caused them to succeed in exceptional ways.
Even Isaac Newton after he brilliantly invented the Math necessary to calculate Planetary Orbits ended up invoking divine intervention when he couldn't account how to calculate multiple bodies interacting upon each other. He concluded that without "God's" intervention, the solar system could not be held together.