Should you judge your boyfriend based on his friends?

Should you judge your boyfriend based on his friends?

Say all his friends act like dogs and talk poorly about women. Should you judge or assume your boyfriend must be like that since all his friends are?