The institutional church (like all human institutions) gets lots of things wrong.  The Church, the entire People of God, the Body of Christ, however, is the godchild of the Holy Spirit.  I/we belong to the latter much more than the former.