What you are trying to do is set up a faux contradiction.
Science isn't faith and vice versa. There is a huge difference between accepting the 10 commandments as being an authentic way to deal with living a good life and has having come from God through Moses and trying to set up bugaboos that have more to do with the empiracle innocence of that time and the necessity of giving simpler explanations.
Two questions.
1) Where in the Bible does it ever assert that the sun revolves around the earth?
2) If, as YOU say, the Bible is not to be taken literally, then why should Jesus's vague comment to Peter about "a rock" lead to the multi-trillion dollar Roman Catholic Empire with it's resultant Inquisitions where people were tortured and murdered for refusing to bow to Roman Catholicism's demand for subservience?