訳ではない

it is not that; it does not necessarily mean that

→ 訳
phrase Very common #1,533
it is not that; it does not necessarily mean that Usually appears as わけではない after a clause. It partially negates or corrects an assumption, meaning that something is not necessarily the case. The kanji 訳 is less common than the hiragana わけ in this expression.
JA: すべての人がその本が好きだという訳ではない。
EN: It is not the case that everyone likes that book.

まだ有罪になった訳ではない

It’s not as though they’ve been found guilty yet.

全くと言う訳ではないんだ

It's not that it's a complete lie.

まだ終わった訳ではない

It’s not over yet.

— スター・トレックII カーンの逆襲 (1982)