Is judging a person's character by her/his habits fair?

how fair is it an index of the total good a person has to offer, aslong as habits are not unethical.

share your thoughts on the argument of judging a person’s character by her/his habits?

best,
Dushwari