Moses compares enemies who worship false gods to the wicked people who lived in Sodom and Gomorrah and to grapevines that produce poisonous fruit. This means their enemies are wicked and will cause the Israelites to die if the Israelites start to act like the people who live around them.