18 The Lord has chastened me severely,
but he has not given me over to death.
19 Open for me the gates of the righteous;
I will enter and give thanks to the Lord.
20 This is the gate of the Lord
through which the righteous may enter.
21 I will give you thanks, for you answered me;
you have become my salvation.
22 The stone the builders rejected
has become the cornerstone;
23 the Lord has done this,
and it is marvelous in our eyes.
24 The Lord has done it this very day;
let us rejoice today and be glad.