What is wisdom?

Wisdom is gaining self knowledge. What is the difference between somebody who is a fool, or more foolish, or person who is wise or more wise? Is simply a matter of who has more self knowledge.