Three things cannot be long
and the truth.
Buddhism teaches that wisdom should be developed with compassion. At one extreme you could be a goodhearted fool and at the other extreme, you could attain knowledge without any emotion. Buddhism uses the middle path to develop both. The highest wisdom is seeing that in reality, all phenomena are incomplete, impermanent and do not constitute a fixed entity. True wisdom is not simply believing what we are told but instead experiencing and understanding truth and reality. Wisdom requires an open, objective, unbigoted mind. The Buddhist path requires courage, patience, flexibility and intelligence.
Compassion includes qualities of sharing, readiness to give comfort, sympathy, concern, caring. In Buddhism, we can really understand others, when we can really understand ourselves, through wisdom.
Ref:- Buddha Dharma Education Association and Buddhanet