Two Types of Righteousness
The Bible speaks of two types of righteousness. There is a righteousness of the law and there is a righteousness of faith.
Php 3:6-9 Concerning zeal, persecuting the church; touching the righteousness which is in the law, blameless. (7) But what things were gain to me, those I counted loss for Christ. (8) 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, (9) 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:
Paul clearly points to his own righteousness, which is of the law and by man’s works, but then he mentions another righteousness which is through the faith of Christ, the righteousness which is of God by faith.