Often it takes the churches a long while to see the errors of their ways. Ultimately they tend to get it right. Martin Luther's call for the use of modern languages in the place of Latin caused a terrible fuss when he nailed his demands on the church door in Germany. Galileo narrowly escaped burning as a heretic for teaching that the universe did not circle around the earth. Some of the Protestant churches in South Africa claimed a scriptural basis for apartheid.
Nobody defends such wrongs today.
Usually the churches belatedly apologise. It concerns homosexuals. In May 1999 two fine Catholics, Sister Jeannine Gramick and Father Robert Nugent, were prohibited from continuing their ministry to a gay and lesbian congregation in Maryland in the United States. They had done so for twenty years. Gramick and Nugent were told by their Bishop that they must cease their ministry because they were not teaching the authentic doctrine of the Church.