All scripture is inspired by God and is useful for teaching, for reproof, for correction and for training in righteousness, so that everyone who belongs to God may be proficient, equipped for every GOOD WORK. We are saved by God's grace, called to good works that glorify the Lord and build our treasure in heaven. Faith is a verb.
Gods grace thru a kind of Faith that works, where the works are the fruit of salvation, not the cause of salvation. Faith alone, the kind that produces fruit. You shall know them by their fruits.
Works as evidence of faith, just as James says.
That is a Catholic understanding, not that the fruits gain salvation, but faith in Jesus, that compels one to do works that honor and glorify Him, out of love of Him and neighbor.