The ancient Egyptians believed that the ebb and flow of the Nile were caused by the god Atum masturbating to ejaculation. As such, Pharaohs were sometimes required to ceremonially masturbate into the Nile.