No, he contradicted what the church said. AFAIK there's nothing in the bible about planetary orbits.
The church tried to promote many 'facts' which didn't have a basis in science, or even in the bible, and regarded it as a sin to even question such dogma. It was the ultimate system of unaccountability.
When Galileo tried to point out their mistake, it was a major threat to their way of thought as they could not permit their beliefs being challenged.
If they could be shown to be wrong about that, then maybe people would question their interpretation of the bible. They may even want to be able to read the bible themselves, and before long they'd be questioning things like paying money to pray for souls in purgatory or the selling of indulgences, as those were not in the bible. If people wouldn't pay for indulgences or lost souls, then a major revenue stream would be cut off.
Furthermore if people didn't believe what the church told them, then maybe another church would spring up to challenge their version of beliefs, and possibly even people would stop believing in all this stuff altogether.
Hmm...
Edit:
To be fair, the Roman Catholic church did finally accept that Galileo was right, and the earth is not stationary... in 1992.