Philippians 3:9 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 on the basis of faith.
The apostle may well have concluded that everything of the world was of the same worth as dung in comparison to what God can give us, but he knew who the supplier was of his worth.
It is because of what Christ has done we have the gift of eternal life and not because of us following the law or keeping things righteous!
Christ gave it all so we could live with Him. Christ gave His life so we would not have to give our own. It is because of Christ and not because that is what people say…