Another way to say "judging someone is for justice" is "To be brought to justice, you must be judged."