GRACE AND JUSTIFICATION From the Catechism
vatican.va/archive/ENG0015/__P6Y.HTM
We are saved by grace but must work out our salvation in good works. When Jesus described the Last Judgement in Matthw 25 verses 31-46, He made plain the importance of good works. Those who have lived in practical kindness to others, which He takes aslo as kindness/love to Him, have merited/chosen heaven. Those who have not lived lives of practical kindness/love to other in their needs have chosen/merited hell.
“Why do you call me Lord, Lord, and not do what I say?
Everyone who comes to me an listens to my words and
acts on them–I will show you what he is like. He si like a man who when he builds his house dug deeply, and laid the foundations on rock; when the river was in flood it bore down on that house but could not shake it, it was so well built. But the one who listens but does nothing is like the man who built his house on soil, with no foundations; as soon as the river bore down on it, it collapsed; and what a ruin that house became.” Luke 6:46-49]
“Therefore, my beloved, as you have always obeyed, so now, not only as in my presence but much more in my absence, work out your own salvation with fear and trembling; for God is at work in you, both to will and to work for his good pleasure.” [Philippians 2:12-13]
“Do not be deceived; God is not mocked, for whatever a man sows, that he will also reap. For he who sows to his own flesh will from the flesh reap corruption; but he who sows to the Spirit will from the Spirit reap eternal life. And let us not grow weary in well-doing, for in due season we shall reap, if we do not lose heart.” [Galatians 6:7-9]