what that refers to, .. by the action of one man in a group the others can be judged.
same saying as.. birds of a feather flock together.
so you can judge the bunch of grapes by the ripeness of one.
and i believe it to be middle eastern in origin ( arab proclaimation )