The call to repentance because of coming judgment: the prophet's grief

Chapter 13, bringing to mind how God had bound Israel to His
heart, announces the terrible judgment with which the people shall,
as it were, be drunken; and, on the ground of this judgment, calls
them to repentance. He relates their hopeless evil, and the
unfeigned grief of the prophet at their obstinacy. Compare Luke 19:
41. This zeal for Jehovah's glory against the evil and the people
who dishonoured Him, and touching affection to them as Jehovah's
people, is everywhere a striking mark of the working of the Spirit
of Christ. Compare Moses (Exodus 32:27, 28, 31, and sequel); so
Paul (Rom. 9; 1 Thess. 2:15, 16): only here, under grace, there is
no call for judgment; so even Christ Himself (compare
Matt. 23:31-37).