expression
a wise man keeps away from danger
Proverb advising that a sensible person avoids unnecessary risks and does not approach dangerous situations.
あの界隈は夜は物騒だから、君子危うきに近寄らずで近づかないほうがいい。
That area is dangerous at night, so it's better not to go near it, as the saying goes: a wise man keeps away from danger.
A Japanese proverb derived from classical Chinese thought, often attributed to Confucian teachings. The exact origin is uncertain, but it reflects the idea that a person of virtue avoids peril.