The only fence against the world is a thorough knowledge of it.
Some Thoughts Concerning Education sec. 88 (1693)

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