Deuteronomy 11:17

11:17 Then the anger of the Lord will erupt against you and he will close up the sky so that it does not rain. The land will not yield its produce, and you will soon be removed from the good land that the Lord is about to give you.

Deuteronomy 28:12

28:12 The Lord will open for you his good treasure house, the heavens, to give you rain for the land in its season and to bless all you do; you will lend to many nations but you will not borrow from any.