James 5:8-9
You too, be patient; strengthen your hearts (keep them energized and firmly committed to God), because the coming of the Lord is near. Do not complain against one another, believers, so that you will not be judged (for it). Look! The Judge is standing right at the door.
We don’t want to run this race for the Lord in vain. Our best defense against letting the devil send thoughts of judgment against a fellow Christian is to stop the ideas before they take root. We don’t know what another person is going through, but God does. God is the best judge of every situation, and a prayer for the person would free our hearts from any judgment from God.