As far as I know, there is no single complete source of the myth, but rather many fragments in many places, from many times and influences. A good general reference for material like that is Manly P. Hall. He was a truly remarkable scholar.
“Nothing is easier than self-deceit. For what each man wishes, that he also believes.” —Demosthenes
"Do not worry; cultivate the habit of being happy." —Samael Aun Weor