wisdom

(noun) wiseness

trait (generic term)
folly (antonym)