わけではありません

it is not the case that

→ 訳
phrase Uncommon #19,066
it is not the case that Used to deny or qualify a statement; it can mean “not necessarily” depending on context. This is the polite form.
JA: 彼が嫌いなわけではありません。
EN: It’s not that I dislike him.