с волками жить — по-волчьи выть

Etymology
"Living with wolves, you will howl like a wolf." "If you live with wolves, you will have to howl like one."

Proverb

 * 1) when in Rome, do as the Romans do