скажи мне, кто твой друг, и я скажу тебе, кто ты

Etymology
lit. 'tell me who your friend is, and I’ll tell you who you are'.

Proverb

 * 1) a man is known by the company he keeps