〜わけではない This pattern is used to deny part of an idea, not the whole thing ("it doesn't mean that ~"). It softens a statement by saying something is not entirely true.
Formation
plain form + わけではない (な-adjective + な / noun + という)
| 嫌い | 嫌い + な + わけではない | 嫌いなわけではない |
| 高い | 高い + わけではない | 高いわけではない |
| 食べる | 食べない + わけではない | 食べないわけではない |
Examples
肉が嫌いなわけではありませんが、あまり食べません。
It's not that I dislike meat, but I don't eat it much.
高い物がいつもいいわけではない。
Expensive things aren't always good.