expression
it does not mean that ...; it is not the case that ...
Used to deny a possible interpretation or to clarify that something is not necessarily true. Often follows a clause in plain form.
See also: 訳ではない (わけではない)
お金があれば幸せになれるわけではありません。
Having money does not necessarily mean you can be happy.
彼が来なかったからといって、怒っているわけではありません。
Just because he didn't come doesn't mean I'm angry.