"...judge righteous judgment."

John 7:24

Mat 7:1 "Judge not, that ye be not judged."

Unsaved people and even witches quote this Scripture trying to close the mouths of a testifying Christian. But they have no clue of what it means. Judgement must be used by Christians. Christians must judge.  
     
 The Bible says that every soul will stand before God in judgment. So whether we judge or not we will all be judged anyway

So in the context you are trying to use this Scripture doesn't make sense. “....that you be not judged” .

We will all be judged by God's Word and God's Word says we must judge ourselves and every voice and every circumstance.

“Know ye not that we shall judge angels? how much more things that pertain to this life?” 1 Cor 6:3


      The Word of God is a measuring rod wherewith we measure everything to see if it measures up to God's Word. Whatever does not measure up must be reproved. Through the power God gives us in Christ we can turn from sin and be victorious in any circumstance.

      A Christian must reprove himself and the world of sin. What this Scripture means is that we must not judge with our own judgment or opinions. We must judge with “Righteous judgment.” (John 7:24)        In other words we must judge by God's holy Word. The Word of God is God and only God the Word is righteous. What must take place is judgment right now. We must judge ourselves now with God's Word. If we do this then we will not be judged because we are judging ourselves here. “For if we would judge ourselves, we should not be judged.” (1 Corinthians 11:31)

      The Word will not change even if we didn't judge by it, we will still be judged by the Word of God either now or later. Disciples are to go out and preach the gospel of Jesus Christ and His kingdom and what must be done to enter in (Judge ourselves now).

      We must become born again with Christ's life in us so we can receive power to keep the commandments and enter the kingdom of heaven. People then say, “All have sinned so all are sinners.” Well that's true but there's more to it. All HAVE sinned (past tense) but we who are saved have been forgiven of ALL prior sins now and any sin we commit now is sins of ignorance. But we don't wilfully sin, “For if we wilfully sin after that we have received the knowledge of the truth, there remaineth NO MORE sacrifice for sins, But a certain fearful looking for of judgment and fiery indignation, which shall devour the adversaries.” Hebrews 10:26, 27

       That's what John was saying about sins unto death and sins NOT unto death. 1 John 5:16 Sins unto death are "willful" sins spoken of in Hebrews 10:26. Sins "not unto death" are in reference to sins of ignorance. Thiese types of sins do NOt include going out and repeatedly committing adultery, fornication and other deeds done by godless people. We know better (Christians) and have the Word of God which teaches such things will bring upon you cursings. David was cursed for his sin of murder and adultery. And it is entered into the Word of God to his eternal reproach.