Our good works, on our own initiative, do not directly save us, but they can strengthen our relationship with Christ and lead us to grow in holiness. [cf. CCC 1995, 1999, 2006 2016]
5. Justification (and thus, Salvation) can be lost This grace is habitual because it endures and persists until we forfeit it. Man can lose this sanctifying grace by freely and knowingly committing a sin involving grave matter (referred to as being subjectively guilty of a mortal sin). [cf. CCC 1856, 1859, 2000] Hopefully, others see this blatant contradiction. If our good works, things we do, do not save us and it is by grace through faith that we are saved, then how can salvation be lost based on something we have done? Either we are saved by grace or we are saved by works. Scripture is clear that it cannot be both as they cancel each other out.
And if by grace, then is it no more of works: otherwise grace is no more grace. But if it be of works, then is it no more grace: otherwise work is no more work. (Romans 11:6)