Justification is both as others have suggested already.
One Saint speaks of bad/insufficient sort of faith being dead (cannot justify) and revealed by lack of good works. The other speaks of a sufficient faith for justification and the inability of bad works to justify (without that faith).
So...