Read Luke 18 today.

One of the stories in this chapter is about a Pharisee and a tax collector praying in the temple. The attitudes of these two men were very different. The Pharisee compared himself to the tax collector. In this comparison, the Pharisee could see that his alignment with the regulations of the law was superior to that of the tax collector. He listed the areas where his accomplishments were superior.
This is not the attitude God desires from us. God desires humility on our part, not an attitude that mocks or condemns others for their failures. It is easy to look around and make comparisons with other people. Perhaps it would be better if the beginning of each conversation with God began like that of the tax collector.
‘O God, be merciful to me, for I am a sinner.’
Luke 18:9-14 NLT
Then Jesus told this story to some who had great confidence in their own righteousness and scorned everyone else:
[10] “Two men went to the Temple to pray. One was a Pharisee, and the other was a despised tax collector. [11] The Pharisee stood by himself and prayed this prayer: ‘I thank you, God, that I am not a sinner like everyone else. For I don’t cheat, I don’t sin, and I don’t commit adultery. I’m certainly not like that tax collector! [12] I fast twice a week, and I give you a tenth of my income.’
[13] “But the tax collector stood at a distance and dared not even lift his eyes to heaven as he prayed. Instead, he beat his chest in sorrow, saying, ‘O God, be merciful to me, for I am a sinner.’ [14] I tell you, this sinner, not the Pharisee, returned home justified before God. For those who exalt themselves will be humbled, and those who humble themselves will be exalted.”