〜とは限らない
Points out that a commonly assumed truth admits exceptions — it is not necessarily so: 高いものがいいとは限らない (expensive things aren't always good). It often pairs with 必ずしも, いつも, or みんな. Like わけではない it is a partial negation, but とは限らない specifically highlights the existence of exceptions.
高いものが必ずしもいいとは限らない。
Expensive things are not necessarily good.
日本人なら誰でも敬語が正しく使えるとは限らない。
Not every Japanese person can use honorific language correctly.
天気予報がいつも当たるとは限らない。
The weather forecast isn't always right.