Birds of a feather flock together is a metaphor for hanging out with like minded people.