Every supposed divine intervention in the Hebrew scriptures or warning of blessings or malediction is nothing but scary fables invented by the ancient Jewish priestly class to keep their privileged position in society and to keep the meat sacrifices coming in, which they relied on for their food.
The ancient Israelite priests and their scribes simply made up frightening tales of an angry or blessing God to keep the masses scared and subservient and in awe of them.
All religion, ancient and current, is a little man playing tricks behind the curtain.