kdo chce s vlky býti, musí s nimi výti

Etymology
lit. 'who wants to hang out with wolves, has to howl together with them' or 'if you want to keep company with wolves, you must howl with them'.

Proverb

 * 1) when in Rome do as the Romans do