People came to David. He didn’t know if they were for or against him so he asked. They said “peace to you”. David received them as allies. He told them that God is their judge. If they were lying about their allegiance He’d have the final say.
Then they came together and worked because David was willing to take them at their word.
A lot of drama in our lives are caused when we try to figure out why others are acting the way they do.
That’s between them and God.
We need to concern ourselves with following after the Word, not being other people’s judges. They’ll answer to the King and we will too.