(Galileo was opposed by the Roman Church's adherence to Aristotle, not the Bible).
Here's
the actual condemnation of Galileo.
Note how it says "The proposition that the Sun is the center of the world and does not move from its place is absurd and false philosophically and formally heretical,
because it is expressly contrary to Holy Scripture", and "the said opinion [...] can in no wise be probable which has been declared and defined to be
contrary to divine Scripture" and "it is declared that the doctrine of the motion of the Earth and the stability of the Sun
is contrary to the Holy Scriptures and therefore cannot be defended or held" and so on.
Note also that they never mention Aristotle.
Note also that in 1536 Petrus Ramus successfully defended his doctoral thesis that "Quaecumque ab Aristotle dicta essent, commentitia esse" ("Everything Aristotle said was wrong.") without the Roman Catholic Church so much as batting an eyelid.