In Philippians Chapter 3, the Apostle Paul is writing about his religious upbringing. In verses 3-10,
For we are the circumcision, which worship God in the spirit, and rejoice in Christ Jesus, and have no confidence in the flesh. v.3
Though I might also have confidence in the flesh. If any other man thinketh that he hath whereof he might trust in the flesh, I more: v.4
Circumcised the eighth day, of the stock of Israel, of the tribe of Benjamin, an Hebrew of the Hebrews; as touching the law, a Pharisee; v.5
Concerning zeal, persecuting the church; touching the righteousness which is in the law, blameless. v.6
But what things were gain to me, those I counted loss for Christ. v.7
Yea doubtless, and I count all things but loss for the excellency of the knowledge of Christ Jesus my Lord: for whom I have suffered the loss of all things, and do count them but dung, that I may win Christ, v.8
And be found in him, not having mine own righteousness, which is of the law, but that which is through the faith of Christ, the righteousness which is of God by faith: v.9
Notice Paul says that he does not have his own righteousness, which is of the law, and the law is not faith. Paul tells us here in verse 9 that you cannot mix the law and faith. If you are trying to mix the law and faith you are under the law, and you cannot be walking by faith.
That I may know him, and the power of his resurrection, and the fellowship of his sufferings, being made comformable unto his death; v.10
If you are not walking by faith you cannot know Jesus, you cannot know the power of his resurrection, you cannot know the fellowship of his sufferings, and you are not being made conformable unto his death. Your self-righteousness prevents you from knowing these things in verse 10. I am praying for you that a spirit of grace and supplication be poured out upon you, that you may look upon him whom you have pierced.
God bless you,