show me 1 single place where calling a sin a sin is called judgement?
this is judging by appearance, pertaining to the verse you quoted
james says:
1My brothers, don't hold the faith of our Ruler Yahshua Messiah of glory with partiality.
2For if a man with a gold ring, in fine clothing, comes into your synagogue, and a poor man in filthy clothing also comes in;
3and you pay special attention to him who wears the fine clothing, and say, "Sit here in a good place;" and you tell the poor man, "Stand there," or "Sit by my footstool;"
4haven't you shown partiality among yourselves, and become judges with evil thoughts?
24“Do not judge according to appearance, but judge with righteous judgment.”
Do you not know what righteous judgement is?
how is
accepting or not speaking against demonic practices righteous judgement?