I find it interesting that Christ in the gospels is usually softer on blatant and outright sinners than the ones who believe themselves counted among the just. He works with patience and honesty to lead the publicans and harlots away from their lives of sin. It’s a very straightforward matter with them.
How do you deal with a nasty, uncharitable, sanctimonious person who believes they are among the just?
“Believe me, the publicans and the harlots are closer to God’s kingdom than you John came among you following all due observance, but could win no belief from you; the publicans believed him, and the harlots, but even when you saw that, you would not relent, and believe in him.” Matthew 21, 31-32. Knox translation.