17The sin of Judah is written with an iron pen; with a diamond point it is engraved on the tablet of their hearts, and on the horns of their altars, 2while their children remember their altars and their sacred poles, beside every green tree, and on the high hills, 3on the mountains in the open country. Your wealth and all your treasures I will give for spoil as the price of your sin throughout all your territory. 4By your own act you shall lose the heritage that I gave you, and I will make you serve your enemies in a land that you do not know, for in my anger a fire is kindled that shall burn for ever.

5 Thus says the Lord:
Cursed are those who trust in mere mortals
   and make mere flesh their strength,
   whose hearts turn away from the Lord.
6 They shall be like a shrub in the desert,
   and shall not see when relief comes.
They shall live in the parched places of the wilderness,
   in an uninhabited salt land.

7 Blessed are those who trust in the Lord,
   whose trust is the Lord.
8 They shall be like a tree planted by water,
   sending out its roots by the stream.
It shall not fear when heat comes,
   and its leaves shall stay green;
in the year of drought it is not anxious,
   and it does not cease to bear fruit.

9 The heart is devious above all else;
   it is perverse—
   who can understand it?
10 I the Lord test the mind
   and search the heart,
to give to all according to their ways,
   according to the fruit of their doings.

11 Like the partridge hatching what it did not lay,
   so are all who amass wealth unjustly;
in mid-life it will leave them,
   and at their end they will prove to be fools.

12 O glorious throne, exalted from the beginning,
   shrine of our sanctuary!
13 O hope of Israel! O Lord!
   All who forsake you shall be put to shame;
those who turn away from you shall be recorded in the underworld,
   for they have forsaken the fountain of living water, the Lord.

14 Heal me, O Lord, and I shall be healed;
   save me, and I shall be saved;
   for you are my praise.