That is what they teach no disagreement with you on that, I just happen to think that the Catholic Church is wrong about a whole lot of things and has historically been wrong about all kinds of things. For example their slaughter of the French Cathars, their murder of Giordorno Bruno, the Spanish Inquisition, The outright slaughter of Native Americans in central and South America, The Church ordering that any Catholic who joins the Free Masons should be executed. Oh yeah, when the Church outlawed the publication of any Bibles in any other language other than Latin and ordered that anyone who did so was condemned to hell, excommunicated, and subject to execution. Imagine that, your church just a few short centuries ago would have killed you for having an English Bible in your possession!!!
So the Catholic Church, while getting an awfully lot right, also gets a ridiculous amount wrong. I in no way solely establish what I think is moral based upon the moral teachings of the Catholic Church. I remain Catholic because I believe it holds more truth than the other Christian traditions, especially Evangelical Christians, who just annoy me to no end. however, I would never surrender my own reason, logic, and conscience to anyone based solely upon that persons claimed authority.