Jeremiah 30-31 (ESV)
Restoration for Israel and Judah
30:1 The word that came to Jeremiah from the Lord: 2 “Thus says the Lord, the God of Israel: Write in a book all the words that I have spoken to you. 3 For behold, days are coming, declares the Lord, when I will restore the fortunes of my people, Israel and Judah, says the Lord, and I will bring them back to the land that I gave to their fathers, and they shall take possession of it.”
4 These are the words that the Lord spoke concerning Israel and Judah:
5 “Thus says the Lord:
We have heard a cry of panic,
of terror, and no peace.
6 Ask now, and see,
can a man bear a child?
Why then do I see every man
with his hands on his stomach like a woman in labor?
Why has every face turned pale?
7 Alas! That day is so great
there is none like it;
it is a time of distress for Jacob;
yet he shall be saved out of it.
8 “And it shall come to pass in that day, declares the Lord of hosts, that I will break his yoke from off your neck, and I will burst your bonds, and foreigners shall no more make a servant of him.  9 But they shall serve the Lord their God and David their king, whom I will raise up for them.
10 “Then fear not, O Jacob my servant, declares the Lord,
nor be dismayed, O Israel;
for behold, I will save you from far away,
and your offspring from the land of their captivity.
Jacob shall return and have quiet and ease,
and none shall make him afraid.
11 For I am with you to save you,
declares the Lord;
I will make a full end of all the nations
among whom I scattered you,
but of you I will not make a full end.
I will discipline you in just measure,
and I will by no means leave you unpunished.
12 “For thus says the Lord:
Your hurt is incurable,
and your wound is grievous.
13 There is none to uphold your cause,
no medicine for your wound,
no healing for you.
14 All your lovers have forgotten you;
they care nothing for you;
for I have dealt you the blow of an enemy,
the punishment of a merciless foe,
because your guilt is great,
because your sins are flagrant.
15 Why do you cry out over your hurt?
Your pain is incurable.
Because your guilt is great,
because your sins are flagrant,
I have done these things to you.
16 Therefore all who devour you shall be devoured,
and all your foes, every one of them, shall go into captivity;
those who plunder you shall be plundered,
and all who prey on you I will make a prey.
17 For I will restore health to you,
and your wounds I will heal,
declares the Lord,
because they have called you an outcast:
‘It is Zion, for whom no one cares!’
18 “Thus says the Lord:
Behold, I will restore the fortunes of the tents of Jacob
and have compassion on his dwellings;
the city shall be rebuilt on its mound,
and the palace shall stand where it used to be.
19 Out of them shall come songs of thanksgiving,
and the voices of those who celebrate.
I will multiply them, and they shall not be few;
I will make them honored, and they shall not be small.
20 Their children shall be as they were of old,
and their congregation shall be established before me,
and I will punish all who oppress them.
21 Their prince shall be one of themselves;
their ruler shall come out from their midst;
I will make him draw near, and he shall approach me,
for who would dare of himself to approach me?
declares the Lord.
22 And you shall be my people,
and I will be your God.”
23 Behold the storm of the Lord!
Wrath has gone forth,
a whirling tempest;
it will burst upon the head of the wicked.
24 The fierce anger of the Lord will not turn back
until he has executed and accomplished
the intentions of his mind.
In the latter days you will understand this.
The Lord Will Turn Mourning to Joy
31:1 “At that time, declares the Lord, I will be the God of all the clans of Israel, and they shall be my people.”
2 Thus says the Lord:
“The people who survived the sword
found grace in the wilderness;
when Israel sought for rest,
3 the Lord appeared to him  from far away.
I have loved you with an everlasting love;
therefore I have continued my faithfulness to you.
4 Again I will build you, and you shall be built,
O virgin Israel!
Again you shall adorn yourself with tambourines
and shall go forth in the dance of the merrymakers.
5 Again you shall plant vineyards
on the mountains of Samaria;
the planters shall plant
and shall enjoy the fruit.
6 For there shall be a day when watchmen will call
in the hill country of Ephraim:
‘Arise, and let us go up to Zion,
to the Lord our God.’”
7 For thus says the Lord:
“Sing aloud with gladness for Jacob,
and raise shouts for the chief of the nations;
proclaim, give praise, and say,
‘O Lord, save your people,
the remnant of Israel.’
8 Behold, I will bring them from the north country
and gather them from the farthest parts of the earth,
among them the blind and the lame,
the pregnant woman and she who is in labor, together;
a great company, they shall return here.
9 With weeping they shall come,
and with pleas for mercy I will lead them back,
I will make them walk by brooks of water,
in a straight path in which they shall not stumble,
for I am a father to Israel,
and Ephraim is my firstborn.
10 “Hear the word of the Lord, O nations,
and declare it in the coastlands far away;
say, ‘He who scattered Israel will gather him,
and will keep him as a shepherd keeps his flock.’
11 For the Lord has ransomed Jacob
and has redeemed him from hands too strong for him.
12 They shall come and sing aloud on the height of Zion,
and they shall be radiant over the goodness of the Lord,
over the grain, the wine, and the oil,
and over the young of the flock and the herd;
their life shall be like a watered garden,
and they shall languish no more.
13 Then shall the young women rejoice in the dance,
and the young men and the old shall be merry.
I will turn their mourning into joy;
I will comfort them, and give them gladness for sorrow.
14 I will feast the soul of the priests with abundance,
and my people shall be satisfied with my goodness,
declares the Lord.”
15 Thus says the Lord:
“A voice is heard in Ramah,
lamentation and bitter weeping.
Rachel is weeping for her children;
she refuses to be comforted for her children,
because they are no more.”
16 Thus says the Lord:
“Keep your voice from weeping,
and your eyes from tears,
for there is a reward for your work,
declares the Lord,
and they shall come back from the land of the enemy.
17 There is hope for your future,
declares the Lord,
and your children shall come back to their own country.
18 I have heard Ephraim grieving,
‘You have disciplined me, and I was disciplined,
like an untrained calf;
bring me back that I may be restored,
for you are the Lord my God.
19 For after I had turned away, I relented,
and after I was instructed, I struck my thigh;
I was ashamed, and I was confounded,
because I bore the disgrace of my youth.’
20 Is Ephraim my dear son?
Is he my darling child?
For as often as I speak against him,
I do remember him still.
Therefore my heart  yearns for him;
I will surely have mercy on him,
declares the Lord.
21 “Set up road markers for yourself;
make yourself guideposts;
consider well the highway,
the road by which you went.
Return, O virgin Israel,
return to these your cities.
22 How long will you waver,
O faithless daughter?
For the Lord has created a new thing on the earth:
a woman encircles a man.”
23 Thus says the Lord of hosts, the God of Israel: “Once more they shall use these words in the land of Judah and in its cities, when I restore their fortunes:
“‘The Lord bless you, O habitation of righteousness,
O holy hill!’
24 And Judah and all its cities shall dwell there together, and the farmers and those who wander with their flocks. 25 For I will satisfy the weary soul, and every languishing soul I will replenish.”
26 At this I awoke and looked, and my sleep was pleasant to me.
27 “Behold, the days are coming, declares the Lord, when I will sow the house of Israel and the house of Judah with the seed of man and the seed of beast. 28 And it shall come to pass that as I have watched over them to pluck up and break down, to overthrow, destroy, and bring harm, so I will watch over them to build and to plant, declares the Lord. 29 In those days they shall no longer say:
“‘The fathers have eaten sour grapes,
and the children’s teeth are set on edge.’
30 But everyone shall die for his own sin. Each man who eats sour grapes, his teeth shall be set on edge.
The New Covenant
31 “Behold, the days are coming, declares the Lord, when I will make a new covenant with the house of Israel and the house of Judah, 32 not like the covenant that I made with their fathers on the day when I took them by the hand to bring them out of the land of Egypt, my covenant that they broke, though I was their husband, declares the Lord. 33 But this is the covenant that I will make with the house of Israel after those days, declares the Lord: I will put my law within them, and I will write it on their hearts. And I will be their God, and they shall be my people. 34 And no longer shall each one teach his neighbor and each his brother, saying, ‘Know the Lord,’ for they shall all know me, from the least of them to the greatest, declares the Lord. For I will forgive their iniquity, and I will remember their sin no more.”
35 Thus says the Lord,
who gives the sun for light by day
and the fixed order of the moon and the stars for light by night,
who stirs up the sea so that its waves roar—
the Lord of hosts is his name:
36 “If this fixed order departs
from before me, declares the Lord,
then shall the offspring of Israel cease
from being a nation before me forever.”
37 Thus says the Lord:
“If the heavens above can be measured,
and the foundations of the earth below can be explored,
then I will cast off all the offspring of Israel
for all that they have done,
declares the Lord.”
38 “Behold, the days are coming, declares the Lord, when the city shall be rebuilt for the Lord from the Tower of Hananel to the Corner Gate.39 And the measuring line shall go out farther, straight to the hill Gareb, and shall then turn to Goah. 40 The whole valley of the dead bodies and the ashes, and all the fields as far as the brook Kidron, to the corner of the Horse Gate toward the east, shall be sacred to the Lord. It shall not be uprooted or overthrown anymore forever.”