The “us against them” mentality within the Church is just as toxic as the “us (church) against the world” mentality.
We feel great when we are “not like those…”
But “those” people are a part of you. Those people are a part of Christ.
It is just too easy to become a Pharisee standing on a higher ground.
I have been tempted and failed many times as well. One way I have found that may help, is to substitute the “they” with “we” in my mind. For example, if you find yourself prone to say things like, “those Christians just don’t understand the gospel”, why not turn it into perhaps something like this, “May we all understand the gospel. Lord, help us to cherish the gospel so that we can love You and others even more”? By His grace, amen.