Galileo “got into trouble” not for his scientific theories, but for introducing theology into science?
Really?
Are you referring to his letter to Duchess Christina explaining that a literal interpretation of Genesis in untenable?
Because he was not condemned for that.
He was condemned for continuing to support Copernicus.
1616
Galileo writes that Aristotle is wrong and Copernicus is right.
Pope Paul V orders a review of Galileo’s position.
The Cardinals find the Copernican view incorrect, and, forbid Galileo from supporting the Copernican view.
1632
With a new Pope elected, Pope Urban VIII, Galileo is invited to present again his views and he does so - holding the same views, as 1616.
1633
Galileo is found guilty of violating the condition of 1616, by supporting Copernicus, and he is condemned [not just in trouble] to lifelong imprisonment, by the Roman Catholic Church.
Please, the influence of the Roman Empire and Greek Thinking is the bedrock of Western Civilization, not the Roman Catholic Church - and that influence is still durable, to this day - unlike that, of the Roman Catholic Church.
I have no doubt education, in “English speaking” countries, is tainted; but, it is not blind, either.