Some people become or stay Catholics because they agree that the Church has the authority to teach and give their assent to that teaching. Others become or stay Catholics because they find her position on certain topics compatible with their own. The former is like a house built on rock, the latter is like a house built on sand. Like the houses in Our Lord’s parable, the one built on sand faces ruin.
Why do I say this? Because the Church is simultaneously gifted with Our Lord’s authority (Luke 10:16) and protected from teaching error (Matthew 16:18. Matthew 28:19-20) on one hand and filled with sinful people who need salvation on the other. So when the Church teaches and we dislike the teaching, or if we get scandalized by the bad behavior of some churchmen, the only thing that will keep us on the right path is faith that God protects His Church. If we treat our affiliation with the Church like a political affiliation, what will we do when the Church goes in a direction we don’t like?