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
The demon is not as scary as he is depicted.
A bad example is contagious.
Better to see once than hear a hundred times.
You can't hide an awl in a bag.
In a quiet whirlpool, demons live.
A well-fed man does not understand a starving one.
A wolf is fed by his legs
Not everything that glitters is gold.