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
Don't bring your set of rules in a foreign monastery
The quieter you go, the further you'll get.
One in the field is not a warrior.
Not everything that glitters is gold.
A well-fed man does not understand a starving one.
Some to the forest, some for firewood.
Patience and labor will grind everything.
There is no bad withouth good.