Of course, the source is the Divine Will. Knowing the Divine Will requires a level of mental comprehension that few humans will ever accomplish. Yet, Rabbi Haninah did. Rabbi Haninah knew that to stick his foot into the lair of a poisonous snake was the right thing to do at that time. His wisdom enabled him to choose the right course of action that would serve as a moral for centuries to come.
Wisdom enables one to perceive right courses of thought, of feeling and of action.
Feelings become like tidal waves along the seashore, always causing havoc. Without wisdom, one's actions are erratic always hurting oneself and others. Wisdom therefore is the monitor and the guiding light of the soul. As important and crucial as wisdom is to human success, it cannot sustain itself unless two other elements are present. Mind you, Rabbi Haninah's words are not telling us how to initially acquire wisdom.