I see it this way: Science is about "how". Religion is about "why". And "why" is the higher pursuit. The bible is not a science book. God did not impart 25th century knowledge to readers thousands of years ago. He let us figure it out for ourselves. The bible explains the cosmos and the earth with the bias of the men writing it at the time. And that's ok. The bible is both divine and human. The men who wrote the books were inspired by God. They didn't enter a trance when writing. They wrote based on their observations. And when it comes to the earth, early man naturally assumed it was flat and the center of the universe.
Comically, my new son-in-law still believes that. I thought he was joking at first, but he wasn't. One takes all of the bible literally at their peril.
For me, one thing is pretty clear: much of the scripture about the purpose of man should be followed by "as far as we're concerned". e.g. the earth is the center of the Universe, as far as we're concerned. Jesus died for our sins, as far as we're concerned. But what about the other quintillions of planets that possibly exist with sentient beings on them? They have their own "as far as they are concerned" about their own world and its history and future. The only true common ground we have with any of them is that we have the same creator.
The above is just my opinion, of course, and really just a theory or, more precisely, an hypothesis, since I can't prove it through experimentation. But I have yet to find scripture that contradicts it.
And here is one that has bugged me for years. 2 Timothy 3:16-17 says "All Scripture is breathed out by God and profitable for teaching, for reproof, for correction, and for training in righteousness, that the man of God may be complete, equipped for every good work."
Now, at the time that was written, it is safe to say that the scripture they were familiar with was the LXX. So, why is it not our old testament in our English bibles? What are we missing that is in the books there that we don't see? I highly recommend getting a copy of the Septuagint in English. It is eye opening.