Exactly. Galileo addressed the issue in a letter which ended up being used against him:
Letter to the Grand Duchess Christina of Tuscany. Excerpts:
... I think that in discussions of physical problems we ought to begin not from the authority of scriptural passages but from sense experiences and necessary demonstrations ...More than 350 years later, the Church adopted Galileo's approach: The Pope's 1996 statement on evolution. Excerpts:... it appears that nothing physical which sense experience sets before our eyes, or which necessary demonstrations prove to us, ought to be called in question (much less condemned) upon the testimony of biblical passages which may have some different meaning beneath their words.
... I should think it would be the part of prudence not to permit anyone to usurp scriptural texts and force them in some way to maintain any physical conclusion to be true, when at some future time the senses and demonstrative or necessary reasons may show the contrary.
... I had the opportunity, with regard to Galileo, to draw attention to the need of a rigorous hermeneutic for the correct interpretation of the inspired word. It is necessary to determine the proper sense of Scripture, while avoiding any unwarranted interpretations that make it say what it does not intend to say. In order to delineate the field of their own study, the exegete and the theologian must keep informed about the results achieved by the natural sciences.