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
You can't command to the heart.
A bird is visible by its flight.
A well-fed man does not understand a starving one.
Living with wolves means to howl like a wolf.
Оne can not see the wood for the trees.
Do not chop the branch you sit on
In a quiet whirlpool, demons live.
You can't spoil the porridge with butter.