Passage
Yah has punished me severely, but he has not given me over to death.
Yah has punished me severely, but he has not given me over to death.
Psalms 118:16 The right hand of Yahweh is exalted! The right hand of Yahweh does valiantly!”
Psalms 118:17 I will not die, but live, and declare Yah’s works.
Psalms 118:18 Yah has punished me severely, but he has not given me over to death.
Psalms 118:19 Open to me the gates of righteousness. I will enter into them. I will give thanks to Yah.
Psalms 118:20 This is the gate of Yahweh; the righteous will enter into it.
The verse centers on "punished", "severely", "given", "over", and "death". It is saying that the verse draws attention to "punished" and "severely", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 17's "I will not die but live and..." into verse 19's "Open to me the gates of righteousness...", so "punished" and "severely" belong inside that flow. In Psalms context, the local focus is worship, trust, the LORD's kingship, and covenant mercy.
A plain takeaway is to answer the verse's own emphasis on "punished" and "severely" with trust shaped by these words, not by a vague optimism outside the passage.