John Locke said this quote

The only fence against the world is a thorough knowledge of it.