Summary: Is thier a right way to Pray.
1. The Audience verse 9
To some who were confident of their own righteousness and looked down on everybody else, Jesus told this parable:
Jesus in this parable targets those in the crowd around Him who were self-assured (who trusted in themselves) and were convinced that they were good people pure and ethical before God. They were so arrogant of their moral standing before God that they looked down their noses on others who they think are not “spiritual.”
Galatians 6:3 If anyone thinks he is something when he is nothing, he deceives himself.
2. Two Men verse 10
"Two men went up to the temple to pray, one a Pharisee and the other a tax collector.
Object Lesson: Dirty Cup (a cup that is clean on the outside but dirty on the inside)How would you like a nice, cool drink from this cup? Do you really think you would? It is a nice cup, isn’t it? And it does look clean, but I’ve only shown you the outside, Look at the inside. Now, nobody wants to drink.
A Pharisee was a member of the Jewish faith. They were the most highly esteemed group in Jewish society. They were church goers of their time who attended every Bible study, prayer meeting. They tried to obey every law of the faith.
The Pharisee knew how to pray. They applied themselves to the art of prayer (they made it their hobby). Jesus tells us in
Matthew 23:14 ["Woe to you, scribes and Pharisees, hypocrites, because you devour widows’ houses, even while for a pretense you make long prayers; therefore you shall receive greater condemnation.]
Matthew 6:5-8 "And when you pray, you are not to be as the hypocrites; for they love to stand and pray in the synagogues and on the street corners, in order to be seen by men. Truly I say to you, they have their reward in full.  "But you, when you pray, go into your inner room, and when you have shut your door, pray to your Father who is in secret, and your Father who sees in secret will repay you.  "And when you are praying, do not use meaningless repetition, as the Gentiles do, for they suppose that they will be heard for their many words.  "Therefore do not be like them; for your Father knows what you need, before you ask Him.
We today when we hear “Pharisee” automatically we think of them as bad religious people, but during those days they were honored members of the Jewish community in order to fully understand this parable. They were the good guys, the best of the best, the crème of the crop. The apostle Paul was a Pharisee.
B. Tax Collector
A tax collector was at the other end of the spectrum, the community considered them as monsters or traitors. Josephus the famous Jewish historian describes them “as despicable.” In today’s culture, the closest social equivalent would be drug pushers and pimps, those who prey on society, who make money off others’ bodies and make a living of stealing from others.
Note: Rome imposed taxes on its conquered peoples, but the collection of those taxes was delegated to private Roman contractors (tax farmers), who then employed Jewish underlings to do the dirty work, their pay being whatever extra they could extort from their fellow Jews.