Deuteronomy 28 24
The Lord shall make the rain of thy land powder and dust: from heaven shall it come down upon thee, until thou be destroyed.
Therefore, on account of you, the heavens have withheld their dew and the earth has withheld its crops. Now Elijah the Tishbite, who was among the settlers of Gilead, said to Ahab, “As surely as the LORD, the God of Israel, lives, I stand before Him, and in these years there will be neither dew nor rain except at my word!”
How the cattle groan! The herds wander in confusion because they have no pasture. Even the flocks of sheep are suffering. You have planted much but harvested little. You eat but never have enough. You drink but never have your fill. You put on clothes but never get warm. You earn wages to put into a bag pierced through.”
When heaven is shut up, and there is no rain, because they have sinned against thee; if they pray toward this place, and confess thy name, and turn from their sin, when thou afflictest them:
Then hear thou in heaven, and forgive the sin of thy servants, and of thy people Israel, that thou teach them the good way wherein they should walk, and give rain upon thy land, which thou hast given to thy people for an inheritance.