Leviticus 26:15-25

15 if you reject my laws and look at my rules with disgust, if you reject my promise by disobeying my commands,
16 then this is what I will do to you: I will terrorize you with disease and fever. You will suffer from eye problems and depression. You will plant your crops and get nothing because your enemies will eat them.
17 I will condemn you so that you will go down in defeat in front of your enemies. Those who hate you will be your rulers. You will run away even when no one is chasing you.
18 "If you still will not listen to me, I will discipline you seven times for your sins.
19 I will crush your arrogance. You will have no rain, and your land will be as hard as cement.
20 You will work hard for nothing because your land will produce no crops and the trees will produce no fruit.
21 "If you resist and don't listen to me, I will increase the punishment for your sins seven times.
22 I will send wild animals among you. They will rob you of your children, destroy your cattle, and make you so few that your roads will be deserted.
23 "If this discipline does not help and you still resist,
24 then I, too, will resist you. I will punish you seven times for your sins.
25 I will bring war on you to get revenge for my promise [that you rejected]. When you gather in your cities, I will send plagues on you and you will fall under the control of your enemy.