Hebrews 10:38

but my righteous one shall live by faith, and if he draws back my soul takes no pleasure in him.

Luke 18:9-14

And he also spoke this parable to some who trusted in themselves that they were righteous, and despised others:

Romans 10:3

for not knowing God's righteousness, and seeking to set up their righteousness, they have not submitted themselves to God's righteousness.

Philippians 3:9

and be found in him, not having my righteousness by the law, but that which is through the faith of Christ, the righteousness of God by the faith,

2 Peter 2:20-22

For if having escaped the defilements of the world by a knowledge of the Lord and Saviour Jesus Christ, they are again entangled and overcome by them, the last state of those persons is worse than the first.

1 John 2:19

They went out from us, but they were not of us; for if they had been of us they would have continued with us; but [they went out from us] that they might be manifest that they are not all of us.

Treasury of Scripture Knowledge

Summary

When I shall say to the righteous, that he shall surely live; if he trust to his own righteousness, and commit iniquity, all his righteousnesses shall not be remembered; but for his iniquity that he hath committed, he shall die for it.

Bible References

If he

Luke 18:9
And he also spoke this parable to some who trusted in themselves that they were righteous, and despised others:
Romans 10:3
for not knowing God's righteousness, and seeking to set up their righteousness, they have not submitted themselves to God's righteousness.
Philippians 3:9
and be found in him, not having my righteousness by the law, but that which is through the faith of Christ, the righteousness of God by the faith,
Hebrews 10:38
but my righteous one shall live by faith, and if he draws back my soul takes no pleasure in him.
2 Peter 2:20
For if having escaped the defilements of the world by a knowledge of the Lord and Saviour Jesus Christ, they are again entangled and overcome by them, the last state of those persons is worse than the first.
1 John 2:19
They went out from us, but they were not of us; for if they had been of us they would have continued with us; but [they went out from us] that they might be manifest that they are not all of us.