If the Protestant doctrine of being declared just by faith alone and that our works justify (give evidence) of our faith then many Catholics meet that definition as they trust in Christ to save them. They may believe they are justified by faith+works but if the Protestant doctrine is correct then they are declared just because of their faith.
Protestant doctrine is false. God doesn’t justify those who don’t do good. God justifies only those who have done works of righteousness. But He doesn’t justify them by their works. He justifies them because of His mercy, through the washing of regeneration which is Baptism (Titus 3:5).
The point is that someone can be saved even if they have the wrong understanding of how it all works together.
That is Catholic Doctrine.
Both can’t be right about the relationship of faith and works. Both say the other is wrong. But if you look at the life of those who, both Catholic and Protestant, who take their faith seriously, you will find both have both great faith and many works. If that is what God judges then there is no difference in their standing before God.
Hebrews 10:25 We should not stay away from our assembly,[a] as is the custom of some, but encourage one another, and this all the more as you see the day drawing near. 26 If we sin deliberately after receiving knowledge of the truth, there no longer remains sacrifice for sins 27 but a fearful prospect of judgment and a flaming fire that is going to consume the adversaries. 28 Anyone who rejects the law of Moses is put to death without pity on the testimony of two or three witnesses. 29 Do you not think that a much worse punishment is due the one who has contempt for the Son of God, considers unclean the covenant-blood by which he was consecrated, and insults the spirit of grace? 30 We know the one who said:
Between us, who rejects the Eucharist?
Between us, who rejects the Mass?
That’s what I’m trying to tell you.
John 6:53 Jesus said to them, “Amen, amen, I say to you, unless you eat the flesh of the Son of Man and drink his blood, you do not have life within you.