He then 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 everyone who exalts himself will be humbled, and the one who humbles himself will be exalted." (Lk18:9-14)
Jesus addressed the people according their attitude. Jesus came into the world to proclaim the kingdom and the values of the kingdom. He did not limit himself only to this. He also addressed the problems of the society, religion, and individuals through parables and stories. Here, he addressed this parable to those who were convinced of their own righteousness and despised everyone else.
Jesus was not happy with those who were self righteous and those who despised everyone else. Self righteousness and despising others were not the right attitudes for living in a community, particularly in the kingdom community. Both self righteousness and despising divide the people. These make the community unequal. Jesus came to build up a community where all are equal.
Here Jesus gave a parable in which even prayer and practice of religion can make persons unequal. This was due to their attitude. Prayers, practices of piety and worship can divide people and put one against the other. What is important is the justification by God.