“…knowing that a man is not justified by the works of the law but by faith in Jesus Christ, even we have believed in Christ Jesus, that we might be justified by faith in Christ and not by the works of the law; for by the works of the law no flesh shall be justified.”
In this verse, we have an affirmation and a denial. We have an affirmation of how God declares a person justified: He justifies him by faith in Christ’s death, which forgives sin. We also have a denial: God does not justify a person by “the works of the law.”
Paul is dressing down Peter for his reversion to legalism (Ga 2:11-15). When legalists from Jerusalem arrived, the situation put Peter in a predicament. He left fellowship with Gentiles to eat with the Judaizers. He relapsed back into legalism with the Judaizers. He tried to accommodate both law and grace at the same time. That never works.
knowing
The tense of the word “knowing” shows that Paul and Peter knew, in the past and continuing into the present, that the law could not justify a sinner or sanctify a saint (perfect tense). Peter failed to apply what he knew about the principle of grace. Paul appeals to common knowledge about the principle of grace.
Principle:
Christians and non-Christians must grasp the principle of grace very clearly.
Application:
Do you clearly understand justification by grace alone and faith alone? No matter how cultured, religious, well-behaved, gracious, philanthropic, or well-educated we might be, if we do not accept that only faith in the death of Jesus Christ forgives sin, God will not justify us.
We may have a good standing with people, but we have no place with God. A good reputation in our community will not impress God when we meet Him in Heaven. That will get us a big funeral but not eternal life. Good standing with God comes through believing in Jesus’ death for our sins.

remember, it is not ‘putting ones faith ‘in’ Jesus Christ; that would be a work, by which we cannot be saved.
But it is receiving by grace the faith ‘of’ (KJV) Jesus Christ as a gift so He (Jesus) gets all the glory.
The correct translation (which most of the newer versions mistranslate) Ephesians 2:8 KJV. For by grace are ye saved through faith; and that not of yourselves: it is the gift of God:
The ‘that’ is referring to the object, faith, which Galatians 2:16 KJV states is ‘Of Christ’ which he imparts to us that we might have the same faith as Jesus had in the Father to raise Him from the dead.
Dear Dr. Grant,
No matter how cultured, religious, well-behaved, gracious, philanthropic, cultured, or well-educated we might be, if we do not accept the fact that only faith in the death of Jesus Christ forgives sin, God will not justify us.
In the above the word cultured appear twice
FYI
Ross, Galatians 2:16 corrected.
There is no works in Believing, It is a non motorist verb all the credit is in the object meaning Christ shed blood on the cross