This is neither an idiom nor a colloquialism. I think the writer has coined this aphorism.
You are looking for an idiom (that escapes me) that means: 'danger lurks whenever we stray'.
I mean 'stray' in the sense of 'to wander or roam'; and this is, 'away from the customary/conventional/usual - into the 'unknown'.
- For Teachers