What is wisdom? The prophet Muhammad defined wisdom as follows:

Do what you should do when you should do it.
Refuse to do what you should not do;
And, when it is not clear, wait until you are sure.

James Fadiman, Robert Frager, Essential Sufism by James Fadiman, editor, Robert Frager, editor