1Give thanks to the LORD, for he is good, for his kindness endures forever.2Let the redeemed of the LORD say so, whom he redeemed from the hand of the enemy.3And from the lands he gathered them, from the east and from the west, from the north and from the sea.4They went astray in the wilderness, in a desolate way; they found no city of dwelling.5Hungry and also thirsty, their soul within them grew faint.6Then they cried to the LORD in their distress, and he rescued them from their distresses.7He led them by an upright way, to walk to a city of dwelling.8Let them give thanks to the LORD for his kindness and for his wonders to the children of man.9For he satisfied the craving soul, and he filled the hungry soul with good.10Those who dwell in darkness and in the shadow of death, prisoners in affliction and iron.11For they rebelled against the words of God and spurned the counsel of the Most High.12He humbled their hearts with trouble; they stumbled and there was no one to help.13Then they cried out to the LORD in their distress, and he saved them from their distresses.14He brought them out of darkness and the shadow of death, and he tore their bonds.15Let them give thanks to the LORD for his kindness and for his wonders to the children of man.16For he broke the doors of bronze and cut down the bars of iron.17Fools afflicted themselves because of the way of their transgression and because of their iniquities.18Their soul loathed all food, and they drew near to the gates of death.19Then they cried out to the LORD in their distress, and he saved them from their distresses.20He sent his word and healed them, and delivered them from their pits.21Let them give thanks to the LORD for his kindness and for his wonders to the children of man.22Let them offer sacrifices of thanksgiving and recount his deeds with a cry of joy.23Those who go down to the sea in ships, who do their work on the many waters.24They saw the deeds of the LORD and his wonders in the deep.25He spoke and raised up a stormy wind, and it lifted up its waves.26They mounted up to the heavens; they went down to the depths; their soul melted in distress.27They reeled and staggered like a drunken man, and all their wisdom was swallowed up.28Then they cried to the LORD in their distress, and he brought them out of their distresses.29He stilled the tempest to silence, and the waves were hushed.30Then they were glad because they were quiet, and he led them to their desired haven.31Let them give thanks to the LORD for his kindness and for his wonders to the children of man.32Let them exalt him in the assembly of the people and praise him in the seat of the elders.33He turns rivers into a wilderness and springs of water into thirsty ground.34He turns a fruitful land into saltiness because of the wickedness of its inhabitants.35He turns the wilderness into a pool of water and the dry land into springs of water.36There he settled the hungry, and they founded a city to dwell in.37They sowed fields and planted vineyards and obtained fruit of produce.38He blessed them, and they multiplied greatly, and he did not let their livestock diminish.39They were diminished and brought low through oppression, distress, and sorrow.40He pours contempt upon nobles and makes them wander in a trackless waste.41He exalts the needy out of affliction and makes them like a flock with families.42The upright see and rejoice, and all injustice shuts its mouth.43Whoever is wise will keep these things and will understand the kindnesses of the LORD.