Every person is in need of a sacrifice to cleanse them from sin. Jesus’ blood is the only pure, unblemished and holy sacrifice that is capable of doing that. Our righteousness is solely dependent upon how we respond to Christ.
If we have accepted Christ’s sacrifice we have his righteousness. If we deny him we are stuck with the righteousness that is as filthy rags.
So if we are given the exact same options, why do some perceive that they are more righteous than others?
Don’t be proud, boastful, or haughty. We are adopted into the family of God because of Jesus, not based on our own merit.