I saw yesterday this video and found it very interesting.
Here are some excerpts from the letter mentioned in the beginning from Galileo Galilei to Benedetto Castelli
…it seems to me very prudent of her to propose and of you to concede and to agree that the Holy Scripture can never lie or err, and that its declarations are absolutely and inviolably true. I should have added only that, through the Scripture cannot err, nevertheless some of its interpreters and expositors can sometimes err in various ways.
I should believe that the authority of the Holy Write has merely the aim of persuading men of those article and propositions which are necessary for their salvation and surpass all human reason, and so could not become credible through some other science or any other means except the mouth of the Holy Spirit itself. However, I do not think it necessary to believe that the same God who has furnished us with senses, language, and intellect would want to bypass their use and give us by other means the information we can obtain with them.