proverb

A man is known by the company he keeps.

company

suggests that

A person tends to be very similar in attitude and character to the people with whom he or she associates.