Very true. Indeed, nothing the Catholic Church teaches is in contradiction of the Scripture. This is because, as you note, the totality of what the Holy Spirit Teaches the Church consists of the Holy Scripture, the Holy Tradition, and the living Magisterium. Hence, Chruch -> Truth -> Scripture and not the other way around. See 1 Timothy 3:15 and 2 Thessalonians 2:14
"Whereunto he called you by our gospel, to the obtaining of the glory of our Lord Jesus Christ."
So all men who are elected by God are called to the Gospel to obtain the glory that is of Jesus Christ.
Call no man your father.
Christ->Holy Spirit->Truth->Scripture.