From the moment when, through the Paschal Mystery, she received the gift of the ultimate truth about human life, the Church has made her pilgrim way along the paths of the world to proclaim that Jesus Christ is the way, and the truth, and the life (Jn 14:6).
If the church has the gift of "ultimate truth about human life," I'd expect there to be no mistakes; and especially not -- countless and incredible mistakes.
Conclusion -- the church has no gift to know "ultimate truth."