>>547741
>Why do people take Matthew 16:18 (And I tell you that you are Peter, and on this rock I will build My church, and the gates of Hades will not prevail against it. ) to mean that the true church will not make any mistakes?
Gates of Hell or Hades signifies Sin and in particular heresy for Hades is place of Death and Sin, particularly Heresy, lead unto Death as John says in his first letter. Thus such gates of Hell have no power over Church. For if Christ himself breaked Gates of Hades how could they prevail against his Body?
That's why we say in Creed "I believe in Holy Church". Holy, set apart from sin.
>All last 7 churches in the Book of Revelations has something God hates in them.
Sixth one did not but that's beside point.
This seems like reasonably simple stuff so I think I'm missing something really important in your resoning.
Let me use Catheism to help you:
827 "Christ, 'holy, innocent, and undefiled,' knew nothing of sin, but came only to expiate the sins of the people. The Church, however, clasping sinners to her bosom, at once holy and always in need of purification, follows constantly the path of penance and renewal."299 All members of the Church, including her ministers, must acknowledge that they are sinners.300 In everyone, the weeds of sin will still be mixed with the good wheat of the Gospel until the end of time.301 Hence the Church gathers sinners already caught up in Christ's salvation but still on the way to holiness:
The Church is therefore holy, though having sinners in her midst, because she herself has no other life but the life of grace. If they live her life, her members are sanctified; if they move away from her life, they fall into sins and disorders that prevent the radiation of her sanctity. This is why she suffers and does penance for those offenses, of which she has the power to free her children through the blood of Christ and the gift of the Holy Spirit.302
299 LG 8 § 3; Cf. UR 3; 6; Heb 2:17; 726; 2 Cor 5:21.
300 Cf. 1 Jn 1:8-10.
301 Cf. Mt 13:24-30.
302 Paul VI, CPG § 19.