Ecclesiastes 9:11 contains a very poetic description of genetic drift as a mechanism of evolution, though it leaves out any description of the importance of effective population size:
I returned, and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of understanding, nor yet favour to men of skill; but time and chance happeneth to them all.
-King James Version
Genealogy of the Olympians in Greek Mythology (Wikipedia)The authors of this encyclopedia do a good job of illustrating that myths have many variant versions.
I’ve thought about taking on the genetics of the Greek gods before on these grounds, but have always gotten overly hung up on the many variants of the origin stories that often exist for each god. For the gods’ sake, Aphrodite has an origin story that has her arising as a female clone from Uranus’ castrated testicles (most likely due to the SRY gene never being expressed during development).