The Greeks told stories about the mythic heroes Heracles and Pelops to explain why there was a great festival at the site both heroes were claimed as founding fathers who gave thanks for divine assistance.
WSJ: The Ancient Olympics: Mud, Sex, Hymns...Sports Too