17 Because you say, “I am rich, and have become wealthy, and have need of nothing,” and you do not know that you are wretched and pitiable and poor and blind and naked. Revelation 3:17 (LSB)
Self-Righteousness: the attempt to meet God’s standards based upon one’s own merits.
A thorough study of our Lord’s earthly ministry reveals with certainty the following truth. Our Lord was merciful in every instance to those who were broken, humbled, and spiritually helpless before Him. On the other hand, the proud, the self-righteous, and the self-sufficient He rebuked and shunned, which is thematically summarized for us by James our Lord’s brother in his epistle.
You adulteresses, do you not know that friendship with the world is hostility toward God? Therefore, whoever wishes to be a friend of the world sets himself as an enemy of God. 5 Or do you think that the Scripture speaks to no purpose: “He jealously desires the Spirit which He has made to dwell in us”? 6 But He gives a greater grace. Therefore it says, “GOD IS OPPOSED TO THE PROUD, BUT GIVES GRACE TO THE HUMBLE.” 7 Be subject therefore to God. Resist the devil and he will flee from you. 8 Draw near to God and He will draw near to you. Cleanse your hands, you sinners, and purify your hearts, you double-minded. 9 Be miserable and mourn and cry. Let your laughter be turned into mourning and your joy to gloom. 10 Humble yourselves in the presence of the Lord, and He will exalt you. James 4:4-10 (LSB)