The subject was faith that is not alone. Justification is a forensic declaration of holiness. We receive a new heart when we are justified (Ezekiel 11:19, 36:26). Sanctification is the process of being made holy in this life. Good works are the evidence of ongoing sanctification in the believer.
Good works are partly the evidence of sanctification, but they are not the same as, as you originally stated.