Yes, it was written at a time when human knowledge was very limited. That is no longer the case, but many people still claim that everything in the Bible is the God-given truth. So, there are plenty of people who think dinosaurs walked with humans and the Grand Canyon is a relic of the Great Flood.
So, we have museums like this one and the Creation Museum, where obvious untruths are taught as truth, simply because they align with an ancient text. It's not really the Bible that people are attacking. It is people who refuse to understand that we know more now than a bunch of desert nomads a few thousand years ago knew.
I've read the Bible several times. I'm an atheist. I find it interesting as a look into human nature and for some natural sorts of wisdom that it has in common with most old scriptures. It's not a science book, though, and people who treat it as if it were are foolish beyond description.
There are multiple ancient scriptures out there that attempt to explain the unexplainable to people who had no benefit of science and who lived long ago with almost no technology at all. The Bible's not unique in that. It's one of those. There are people who adhere to many of those old religious scriptures. But, most people have benefited from our knowledge of our world that has been gained over the years since those old texts were written.
Other people refuse to accept any alteration from the tales told in those old books and reject everything we've learned since. That's what people object to, you see, not the books. They are what they are.