5 Out of my distress I called on the Lord;The Lord answered me and set me free.6 The Lord is on my side; I will not fear.What can [mere] man do to me?7 The Lord is on my side, He is among those who help me;Therefore I will look [in triumph] on those who hate me.8 It is better to take refuge in the LordThan to trust in man.9 It is better to take refuge in the LordThan to trust in princes.

10 All nations encompassed me;In the name of the Lord I will surely cut them off.11 They encompassed me, yes, they surrounded me [on every side];In the name of the Lord I will cut them off.12 They swarmed around me like bees;They flare up and are extinguished like a fire of thorns;In the name of the Lord I will surely cut them off.13 You [my enemy] pushed me violently so that I was falling,But the Lord helped me.14 The Lord is my strength and song,And He has become my salvation.

15 The sound of joyful shouting and salvation is in the tents of the righteous:The right hand of the Lord does valiantly.16 The right hand of the Lord is exalted;The right hand of the Lord does valiantly.17 I will not die, but live,And declare the works and recount the illustrious acts of the Lord.18 The Lord has disciplined me severely,But He has not given me over to death.

19 Open to me the [temple] gates of righteousness;I shall enter through them, I shall give thanks to the Lord.20 This is the gate of the Lord;The righteous will enter through it.21 I will give thanks to You, for You have heard and answered me;And You have become my salvation [my Rescuer, my Savior].

22 The stone which the builders rejectedHas become the [a]chief corner stone.23 This is from the Lordand is His doing;It is marvelous in our eyes.24 This [day in which God has saved me] is the day which the Lord has made;Let us rejoice and be glad in it.25 O Lord, save now, we beseech You;O Lord, we beseech You, send now prosperity and give us success!26 Blessed is the one who comes in the name of the Lord;We have blessed you from the house of the Lord [you who come into His sanctuary under His guardianship].27 The Lord is God, and He has given us light [illuminating us with His grace and freedom and joy].Bind the festival sacrifices with [b]cords to the horns of the altar.28 You are my God, and I give thanks to You;[You are] my God, I extol You.29 O give thanks to the Lord, for He is good;For His lovingkindness endures forever.

Footnotes

Psalm 118:22This refers either to the prominent stone at the top of a corner tower, or perhaps more likely to the stone at the foundation of a corner, the first stone laid for a structure (cf Eph 2:20). The special significance of the latter is that the shape of its sides determined how the walls were laid out. The verse refers prophetically to Jesus the Messiah (see Matt 21:42 etc.), but the ancient rabbis interpreted it as a reference to David, who started as a humble shepherd, not the background one would expect for a king. Some prophetic passages refer to an event in the past that is a precursor or foreshadowing of the future prophetic event.

Psalm 118:27Lit branches. In Jewish tradition this is interpreted as a ritual for the Feast of Booths. The term “festival” is understood as a reference to the lulav, several branches bound together and later placed against the altar so that they reach to the top of the horns and bend over the altar.