Or, as my Zen teacher likes to point out: Birds that flock together grow the same feather.

He generally says that to underline the importance of associating with good and learned friends.