19 Open to me the gates of righteousness,
    that I may enter through them
    and give thanks to the Lord.

20 This is the gate of the Lord;
    the righteous shall enter through it.

21 I thank you that you have answered me
    and have become my salvation.
22 The stone that the builders rejected
    has become the chief cornerstone.
23 This is the Lord’s doing;
    it is marvelous in our eyes.
24 This is the day that the Lord has made;
    let us rejoice and be glad in it.[a]
25 Save us, we beseech you, O Lord!
    Lord, we beseech you, give us success!

26 Blessed is the one who comes in the name of the Lord.[b]
    We bless you from the house of the Lord.
27 The Lord is God,
    and he has given us light.
Bind the festal procession with branches,
    up to the horns of the altar.[c]

28 You are my God, and I will give thanks to you;
    you are my God; I will extol you.

29 O give thanks to the Lord, for he is good,
    for his steadfast love endures forever.