Self-righteousness is dangerous. It leads to pride, causing a person to despise others and prevents him or her from learning anything from God. Jesus teaches us about being humble and not being self-righteous in the Parable of the Two Men Who Prayed. Jesus tells us the following in Luke 18:9-14:
9 To some who were confident of their own righteousness and looked down on everyone else, Jesus told this parable: 10 “Two men went up to the temple to pray, one a Pharisee and the other a tax collector. 11 The Pharisee stood by himself and prayed: ‘God, I thank you that I am not like other people—robbers, evildoers, adulterers—or even like this tax collector. 12 I fast twice a week and give a tenth of all I get.’
13 “But the tax collector stood at a distance. He would not even look up to heaven, but beat his breast and said, ‘God, have mercy on me, a sinner.’
14 “I tell you that this man, rather than the other, went home justified before God. For all those who exalt themselves will be humbled, and those who humble themselves will be exalted.”
In this parable we learn the tax collector's prayer should be our prayer, because we all need God's mercy everyday. Don't let pride in your achievements cut you off from God. Be humble and denounce pride, because we are no better than anyone else in this world. We may not have done the things that other people have done, but we are all sinners and we ALL have sinned and fallen short of God's glory ( Romans 3:23).