~わけにはいかない
Cannot (for social / moral reasons); V-nai~: cannot not, have to
N3
V dictionary + わけにはいかない (cannot) / V-nai + わけにはいかない (must)
~わけにはいかない says that although you could do something, you cannot because of responsibility, ethics or social rules: 「{熱|ねつ}があるけど{休|やす}むわけにはいかない」. This differs from the simple negative potential ({休|やす}めない). 「Vないわけにはいかない」 means 'cannot not do', i.e. you have to because of the situation. Learners confuse it with ~わけがない ('no way') or ~ことはない ('no need'); remember that わけにはいかない is about the speaker's own social reasons.
Examples
熱があるけど、今日は大事な検査があるので、休むわけにはいかない。
I have a fever, but there's an important inspection today, so I can't take the day off.
仕事中なので、お酒を飲むわけにはいきません。
I'm on duty, so I can't drink alcohol.
いつもお世話になっている先輩に頼まれたら、手伝わないわけにはいかない。
If a senior who always helps me asks, I can't refuse to help.
Exercises
1.明日は朝から運転しなければならないから、今夜はお酒を飲む 。
2.遅れたのは自分のミスなので、謝らない 。