“Be careful how you sit in judgment of others”.
God has not given us a ministry to discipline and punish, but a ministry of reconciliation.
Only God is the righteous judge. Do you trust God? Didn’t He say He would separate the wheat from the tares? Do you really love the person against whom you sit in judgment? Are you resentful and fearful they just might go unpunished for what you believe they have done or what you believe they are doing? Do you fear that they are going to get away with something that you can’t get away with also?
Do you just love God and obey him only to be better than others? Do you not understand that there are wages for their sin that they will suffer? If so, you would be praying for them instead of judging them and being resentful.