verb
1
BAD : He was judged and sentenced to life imprisonment.
GOOD : He was tried and sentenced to life imprisonment.
◆◆◆
be tried = be judged in a court of law: 'He is being tried for the murder of his wife and her lover.'
2
BAD : You shouldn't judge people for their appearance.
GOOD : You shouldn't judge people by their appearance.
BAD : What standards should we judge them with?
GOOD : What standards should we judge them by?
◆◆◆
judge sb by a particular measure: 'It's better to judge people by what they do, not just by what they say.'