Fetching details from the dictionary...
to get involved or entangled in; to get mixed up in; to have something to do with; to have dealings with
争いには関わり合わない。
I don't get involved in disputes.
その問題に関わり合ったせいで面倒が増えた。
Getting entangled in that issue only made things more troublesome.
危険な人物とは関わり合うべきではない。
You should not get involved with dangerous people.