Here, the threat is given after the transgression of the covenant.
First, he speaks of the transgression of the covenant;
second, he gives the threat against those who transgressed, at and the word came to Jeremiah from the Lord (Jer 34:12).
Concerning the former, there are three points.
First, the making of the covenant is given: after king Zedekiah had made a covenant (Jer 34:8)—and also after he broke it—that every man should go free, according to the Law. If you buy a Hebrew slave, he shall serve you for six years; in the seventh he shall go free without cost (Exod 21:2). And in Leviti...cus 25 they are forbidden to take any of their brothers as slaves or to oppress them through their power with the service of bondsmen; but they are to be as hirelings and sojourners.
Source: Commentary on Jeremiah