proverb

Like breeds like

similarity

idiom meaning that

People usually adopt similar beliefs and behavior to those they associate with. A person's character is affected by the people who spend the most time with.