What's the origin of the classic berobed elderly wizard with the long white beard?

by JJVMT
knoperope

This previous answer by /u/UnBaTo talks about the archetypal wizard and its connections to Odin:

Why do wizards wear robes and pointy hats?