They believed in Gods and goddesses so if they needed help in a certain task they would ask the gods or goddesses for help. This isn't Egyptian mythology but it's Greek mythology I hope you get the point if it hadn't been raining or the lake dried out the would pray to posiden for water because he was the god of the seas
Hope this helped