~わけではない
It's not (necessarily) that …; it doesn't mean …
N3
V / i-adj plain / na-adj・N + な (N という) + わけではない (わけじゃない)
~わけではない partly denies something, or denies a conclusion the listener might draw: 「{嫌|きら}いなわけではない」 = it's not that I dislike it (there is another reason). It is a tactful expression, very useful for declining invitations politely. In speech it becomes 「わけじゃない」. Do not confuse it with わけがない (absolutely impossible): 「{辞|や}めたいわけではない」 (not that I want to quit) differs from 「{辞|や}めるわけがない」 (no way I'd quit). It often appears with 「からといって」, 「{全部|ぜんぶ}」 or 「いつも」.
Examples
日本料理が嫌いなわけではありませんが、生の魚は少し苦手です。
It's not that I dislike Japanese food, but I'm not great with raw fish.
残業が多いからといって、給料がすごく高いわけではない。
Lots of overtime doesn't necessarily mean a very high salary.
日本人がみんな敬語を正しく使えるわけではない。
Not every Japanese person can use keigo correctly.
Exercises
1.会社を辞めたい が、今の仕事は少し大変だ。
2.A「タンさん、今日の飲み会、来ないの?お酒が嫌いなの?」B「嫌いな けど、明日の朝が早いんだ。」