Justification comes through faith, not the law. Sanctification comes through faith, not the law. Paul writes this because Peter had turned his back on the truths of the gospel and back to the law out of fear of Jewish leaders. Paul has to confront Peter to remind him of the Gospel and why we are dependent on it.