What is More Phil. 3:8-9

What is more, I consider everything a loss compared to the surpassing greatness of knowing Christ Jesus my Lord, for whose sake I have lost all things. I consider them rubbish so that I may gain Christ--and be found in Him, not having a righteousness of my own that comes from the law, but that which is through faith in Christ--the righteousness that comes from God and is by faith.

Where does righteousness come from? not the law or ourselves but from God.

How do we get it? through faith in Christ.