“and the publican beat his breast and said “God be merciful to me a sinner”.
I guess any public confession of faith in prayer form won’t be listened to by the Father. /s
The supposed man you mention is praying in church, not praying a boastful prayer out loud in the public square. The rich Pharisee was bragging about himself in prayer; he wasn’t beseeching God for the salvation of souls and asking for healing blessings on Mr. Jones and For Mrs. Phillips who was facing cancer surgery.
Good Lord - It’s Matthew 6:5 -
And when you pray, do not be like the hypocrites. For they love to pray standing in the synagogues and on the street corners to be seen by men. Truly I tell you, they already have their reward. But when you pray, go into your inner room, shut your door, and pray to your Father, who is unseen. And your Father, who sees what is done in secret, will reward you.
Or - to wit - Lindsay had to livestream her charitable work to show the world what a good person she is and got clobbered for it for the hypocrite she is.