Judge poetry by the conduct it encourages. Lines that inspire patience, fairness, or humility may convey wisdom. Attractive rhythm does not make verses that glorify cruelty or falsehood acceptable.
حِكْمَةً goes beyond mere information: wisdom helps a person judge and act well.