But they obviously were ignorant.I don think they were ignorant at all.
They didn't understand Creation, taxonomy, medicine, or physics, just to name a few.
They weren't stupid. But they were primitive.
And that included their ethics and theology.
But we aren't primitive Israelites. So what they believed that God said wasn't really from God. We know more about God now than they did.The health laws given in a number of cases were exactly what a wandering tribe needed.
The restrictions on eating scavengers was there because of what they ate. Wild pigs ate anything and were rife with trichonosis.
These laws , most of the time, were for the benefit of the people.
Which still is little to nothing.
Tom