There were some who had confidence in themselves, thinking they had won acceptance with God, and despised the rest of the world; to them he addressed this other parable: Two men went up into the temple to pray; one was a Pharisee, the other a publican. The Pharisee stood upright, and made this prayer in his heart, I thank thee, God, that I am not like the rest of men, who steal and cheat and commit adultery, or like this publican here; for myself, I fast twice in the week, I give tithes of all that I possess. And the publican stood far off; he would not even lift up his eyes towards heaven; he only beat his breast, and said, God, be merciful to me; I am a sinner. I tell you, this man went back home higher in God’s favour than the other; everyone who exalts himself shall be humbled, and the man who humbles himself shall be exalted.
Jesus addressed this parable to those who were convinced of their own righteousness and despised everyone else. "Two people went up to the temple area to pray; one was a Pharisee and the other was a tax collector. The Pharisee took up his position and spoke this prayer to himself, 'O God, I thank you that I am not like the rest of humanity -- greedy, dishonest, adulterous -- or even like this tax collector. I fast twice a week, and I pay tithes on my whole income.’ But the tax collector stood off at a distance and would not even raise his eyes to heaven but beat his breast and prayed, 'O God, be merciful to me a sinner.' I tell you, the latter went home justified, not the former; for whoever exalts himself will be humbled, and the one who humbles himself will be exalted."