With accent marks:
С кем поведёшься, от того́ и наберёшься.
With whom you are friends with, from them you will learn.
People that we have close relationships with affect our views, habits and attitudes.
This proverb is usually used to say that someone adopted bad habits or attitudes from someone else.
Other Russian proverbs
A well-fed man does not understand a starving one.
One head is good, but two ones are better.
We got what we fought for.
Repetition is the mother of learning.
Your own shirt is closer to your body.
The quieter you go, the further you'll get.
The forbidden fruit is sweet.
Fear has big eyes.