Jesus addressed this parable... "Two people went up to the temple area to pray; one was a Pharisee and the other was a tax collector."
Gospel's Commentary
Today Jesus puts a stop “to those who were convinced of their own righteousness and despised everyone else." In the parable the Pharisee sticks his foot in his mouth: "O God, I thank you that I am not like the rest of humanity — greedy, dishonest, adulterous — or even like this tax collector.” Ridiculous! On the other hand, Jesus praises the attitude of the tax collector who prayed by saying: "O God, be merciful to me a sinner.”
—" for whoever exalts himself will be humbled, and the one who humbles himself will be exalted." The Father glorified with the resurrection His Son humbled at the Cross.