Wiktionary
come with the territory
vb. (context idiomatic English) To be a common, and often inconvenient, accompaniment of an occupation, situation, or occurrence.
Usage examples of "come with the territory".
He had sulked for a while after Ralph spiked his vision of wallowing in pure London Merck for the rest of the day, but he accepted it as just another one of those illogical flare-ups that come with the territory.