I am not arguing and I am well aware Galileo spent the last 3 to 4 years of his life under house arrest. I was challenging your incorrect statement that the Catholic Church taught “the sun revolved around the earth”. Again, the Catholic Church has never done so via a Church Council or Papal statement. The basic theory of the Universe before the Copernican challenge was the Aristotelian-Ptolemaic Theory, with some modifications. As the time of Galileo, the two leading astroners of the era were Brahe, who accepted the Aristolelian-Ptolemy system and Kepler, who agree with the Copernican Theory.
So it was a legitimate scientific debate and as I stated earlier, the Jesuits used their observatory in Rome, analyzed the data, and in agreed with Galileo’s conclusions regarding the Copernican theory.
In closing, the Catholic Church has never made a dogmatic statement regarding Science.