They would blame there leader at the time which was known a the pharaoh. He was the ruler and also was supposed to be a god, so when something went bad they would blame god, aka the pharaoh.
Hope I helped. :)
7.8m questions
10.5m answers