John 12
47 “If anyone hears my words but does not keep them, I do not judge that person. For I did not come to judge the world, but to save the world.
Yes Jesus first came to save us because of His great love for us. The greatest sacrifice of all. When He returns it will be to judge: What did Jesus mean by coming to bring a sword in Matthew 10:34-36?
https://www.gotquestions.org/Jesus-sword.html
About Jesus judging:
What does the Bible teach about Jesus as judge?
https://www.gotquestions.org/Jesus-as-judge.html
This is always a popular question, too, due to misunderstanding:
What does it mean to judge not lest you be judged (Matthew 7:1)?
https://www.gotquestions.org/judge-not-lest-you-be-judged.html