I seem to recall it's actually related to visual iconography, not anything from a text. Divine beings were said to have a glow around them showing their divinity, and people drawing or painting had various ways to represent that. As painting styles changed, so did styles of the glow, eventually becoming first a disk behind the head and then the floating golden frisbee we currently see.