2 of 3
Our righteousness comes from placing our faith in the finished work of Jesus Christ. His sacrifice covers our sin, allowing God to see us as perfect and unblemished.
The Pharisee in the temple saw himself as righteous and was condemned. 
Matthew Henry from the link
http://biblehub.com/luke/18-10.htm

The Tax Collector in the temple

“He owned himself a sinner by nature, by practice, guilty before God. He had no dependence but upon the mercy of God; upon that alone he relied. And God's glory is to resist the proud, and give grace to the humble. Justification is of God in Christ; therefore the “self-condemned”, and not the self-righteous, are justified before God”.

Here is a link https://acireland.ie/a-cosmic-spirituality-for-a-new-theology-teilhard-de-chardins-evolutionary-journey-to-omega-christ/#comment-10074


that connects to several other links where I have attempted to arrive at a way forward for the church to permit all Catholics,