euhemerism
noun
°A belief attributing the origins of the gods to the deification of heroes after their deaths.