“ Acts 17:31
For he has set a day when he will judge the world with justice by the man he has appointed. He has given proof of this to everyone by raising him from the dead.””
God indeed judges as does Jesus of course. His first coming was for salvation. His second is for judgement.
In between those two comings, we are explicitly told not to judge.