“They stopped their behavior when it was motivated by erroneous belief, yes.”
Unlike the supposedly infallible “church” which you promote above all else including scripture. Even though the Bible tells churches to repent, yours refuses to. It is impossible to stop this erroneous behavior when the leaders are too blind to see it is error.
It isn't!
The Catholic church had 1,600 years to repent, and did so several times. The leaders are not in error, nor have they ever been in matters of faith and morals......procedures, yes....biblical teachings and faith, no.
We tell people in the Church to repent all the time, but the Church is the Body of Christ, and Christ is its head. The gates of hell cannot prevail against it, and so the Church is infallible by virtue of the fact that it is Christ’s body and is guided into all truth by the Holy Spirit. The Scriptures tell us that the Church is the pillar and ground of the Truth.