Commentaries
2:20-28 Notwithstanding all their advantages, Israel had become like the wild vine that bears poisonous fruit. Men are often as much under the power of their unbridled desires and their sinful lusts, as the brute beasts. But the Lord here warns them not to weary themselves in pursuits which could only bring distress and misery. As we must not despair of the mercy of God, but believe that to be sufficient for the pardon of our sins, so neither must we despair of the grace of God, but believe that it is able to subdue our corruptions, though ever so strong.
28. But—God sends them to the gods for whom they forsook Him, to see if they can help them (De 32:37, 38; Jud 10:14).
according to the number of thy cities—Besides national deities, each city had its tutelary god (Jer 11:13).