The "church" has no role in salvation.
Salvation is a gift from God, we can do nothing to gain it.
How can we be assured of our own salvation if St. Paul wasn't (1 Corinthians 9:27)?
"Faith is an entirely free gift that God makes to man. We can lose this priceless gift, as St. Paul indicated to St. Timothy: 'Wage the good warfare, holding faith and a good conscience. By rejecting conscience, certain persons have made shipwreck of their faith.' [1 Tim 1:18-19 .] To live, grow and persevere in the faith until the end we must nourish it with the word of God; we must beg the Lord to increase our faith; [Cf. Mk 9:24 ; Lk 17:5 ; Lk 22:32.] it must be 'working through charity,' abounding in hope, and rooted in the faith of the Church. [Gal 5:6 ; Rom 15:13 ; cf. Jam 2:14-26.]" CCC 162