〜ないわけにはいかない: cannot avoid doing, must do is a JLPT N2 grammar point. Double negative meaning you socially or morally have no choice but to do X. Structure: [V-ない] + わけにはいかない. This page explains the construction, gives Japanese examples with furigana readings, and links to related grammar points at this level.
〜ないわけにはいかない: cannot avoid doing, must do
Structure
[V-ない] + わけにはいかない
Explanation
The opposite of わけにはいかない (“cannot afford to do”): adding ない makes a double negative meaning “cannot afford NOT to do”, so you must do it out of politeness, duty, or circumstance: 部長の さそい だから、行かない わけには いかない “it's an invitation from the manager, so I can't not go”.
Examples
たいせつな ともだちの けっこんしき だから、行かないわけにはいかない。
It is my close friend's wedding, so I cannot avoid going.
かれに たのまれたら、てつだわないわけにはいかない。
If he asks me, I have no choice but to help.
