The Roman Catholic Council of Trent described justification not just as the forgiveness of sins but as the renewal and sanctification of the inner person that comes about by receiving God’s grace and gifts. To be justified meant we had to be holy in practice. (This teaching confuses justification - God’s declaration that we are righteous, and sanctification - the process of becoming holy in practice).
The Anglican Article rejects the teaching of Trent. It says that justification means to be counted as righteous by God. The basis for it is the work of the Lord Jesus, especially his death. It is not based on how good we are, or on what we do. We are all sinners who need forgiveness. It is a free gift from God which he promises in the gospel. The way we come receive justification is by believing the promise of the gospel. We cannot earn it.
This doctrine is a wholesome doctrine, that is it brings spiritual health. It assures us that we have peace with God, and saves us from doing good just to prove we are good. It frees us to serve Christ for his sake. It is full of comfort because it forms the basis for holy living. It is not the reward for holy living, but rather the starting place. It encourages us to be holy for the sake of being like God, not in order to win his approval. See more here.