The passage is from Leviticus 26. I actually still find it hard to read without starting to giggle at the thought of this hate-filled little man. I just hope he didn't make his unfortunate wife and children suffer by playing out his nasty little fantasies for real, though I doubt he would have the courage. One never knows though...
But if ye will not hearken unto me, and will not do all these commandments; And if ye shall despise my statutes, or if your soul abhor my judgments (sic), so that ye will not do all my commandments, but that ye break my covenant:
I also will do this unto you; I will even appoint over you terror, consumption, and the burning ague, that shall consume the eyes, and cause sorrow of heart: and ye shall sow your seed in vain, for your enemies shall eat it. And I will set my face against you, and ye shall be slain before your enemies: they that hate you shall reign over you; and ye shall flee when none pursueth you.
And if ye will not yet for all this hearken unto me, then I will punish you seven times more for your sins. And I will break the pride of your power; and I will make your heaven as iron, and your earth as brass:
And your strength shall be spent in vain: for your land shall not yield her increase, neither shall the trees of the land yield their fruits. And if ye walk contrary unto me, and will not hearken unto me; I will bring seven times more plagues upon you according to your sins.
I will also send wild beasts among you, which shall rob you of your children, and destroy your cattle, and make you few in number; and your high ways shall be desolate. And if ye will not be reformed by me by these things, but will walk contrary unto me; Then will I also walk contrary unto you, and will punish you yet seven times for your sins.
And I will bring a sword upon you, that shall avenge the quarrel of my covenant: and when ye are gathered together within your cities, I will send the pestilence among you; and ye shall be delivered into the hand of the enemy. And when I have broken the staff of your bread, ten women shall bake your bread in one oven, and they shall deliver you your bread again by weight: and ye shall eat, and not be satisfied.
And if ye will not for all this hearken unto me, but walk contrary unto me; Then I will walk contrary unto you also in fury; and I, even I, will chastise you seven times for your sins.
And ye shall eat the flesh of your sons, and the flesh of your daughters shall ye eat. [No! I'm not making this up!]
And I will destroy your high places, and cut down your images, and cast your carcases upon the carcases of your idols, and my soul shall abhor you. And I will make your cities waste, and bring your sanctuaries unto desolation, and I will not smell the savour of your sweet odours.
And I will bring the land into desolation: and your enemies which dwell therein shall be astonished at it. And I will scatter you among the heathen, and will draw out a sword after you: and your land shall be desolate, and your cities waste.
Then shall the land enjoy her sabbaths, as long as it lieth desolate, and ye be in your enemies' land; even then shall the land rest, and enjoy her sabbaths. As long as it lieth desolate it shall rest; because it did not rest in your sabbaths, when ye dwelt upon it.
And upon them that are left alive of you I will send a faintness into their hearts in the lands of their enemies; and the sound of a shaken leaf shall chase them; and they shall flee, as fleeing from a sword; and they shall fall when none pursueth. And they shall fall one upon another, as it were before a sword, when none pursueth: and ye shall have no power to stand before your enemies.
And ye shall perish among the heathen, and the land of your enemies shall eat you up. And they that are left of you shall pine away in their iniquity in your enemies' lands; and also in the iniquities of their fathers shall they pine away with them.
Leviticus 26:14-29 (KJV)
And this was supposed to be a story about something a loving, compassionate god was saying. Obviously it never occurred to the author that this god, if it were real, could (and would, if it really was as described) simply perform some convincing miracle again like it is claimed to have done with Moses and Abraham, and all those earlier prophets to whom it was said to have appeared.
But maybe the author knew that wasn't going to happen. Maybe the author just got carried away as his fantasy got the better of him and all that pent-up aggression and hate came pouring out. Or maybe the author just wrote to order for a boss who wanted to frighten the people into obeying him and used the threat of a god as a proxy. Being technologically backward and superstitious, it was probably easy to use this technique to control the people at whom this was aimed in those days.
Priests and preachers still use this 'persuasive' technique today, of course, and it still seems to work on some people.