"He spoke also this parable to certain people who were convinced of their own righteousness..."<quoted text>
He spoke also this parable to certain people who were convinced of their own righteousness, and who despised all others. "Two men went up into the temple to pray; one was a Pharisee, and the other was a tax collector. The Pharisee stood and prayed to himself like this:'God, I thank you, that I am not like the rest of men, extortioners, unrighteous, adulterers, or even like this tax collector. I fast twice a week. I give tithes of all that I get.' But the tax collector, standing far away, wouldn't even lift up his eyes to heaven, but beat his breast, saying,'God, be merciful to me, a sinner!' I tell you, this man went down to his house justified rather than the other; for everyone who exalts himself will be humbled, but he who humbles himself will be exalted."
— Luke 18:9-14, World English Bible
Also Luke 12: 8-9 might apply
"And I say to you anyone who acknowledges me before men, him will the Son of man acknowledge before the angels of God. But whoever disowns me before men, will be disowned before the angels of God"
I'm often amazed at the ignorance I encounter on here.