cháng​zài​hé​biān​zǒu, nǎ​yǒu​bù​shī​xié

inevitable risk

常在河边走,哪有不湿鞋 (常在河邊走,哪有不濕鞋) cháng​zài​hé​biān​zǒu, nǎ​yǒu​bù​shī​xié
inevitable risk
a person who is regularly exposed to a certain environment or risk will inevitably be affected by it
occupational hazard
the tendency for those in positions of power or temptation to eventually succumb to corruption or moral compromise

Sources

Definitions
CC-CEDICT