Passage
In my distress I called upon the LORD, and cried unto my God: he heard my voice out of his temple, and my cry came before him, even into his ears.
In my distress I called upon the LORD, and cried unto my God: he heard my voice out of his temple, and my cry came before him, even into his ears.
Psalms 18:4 The sorrows of death compassed me, and the floods of ungodly men made me afraid.
Psalms 18:5 The sorrows of hell compassed me about: the snares of death prevented me.
Psalms 18:6 In my distress I called upon the LORD, and cried unto my God: he heard my voice out of his temple, and my cry came before him, even into his ears.
Psalms 18:7 Then the earth shook and trembled; the foundations also of the hills moved and were shaken, because he was wroth.
Psalms 18:8 There went up a smoke out of his nostrils, and fire out of his mouth devoured: coals were kindled by it.
The verse centers on "called", "distress", "upon", "lord", "cried", "heard", "voice", and "temple". It is saying that the verse draws attention to "called" and "distress", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 5's "The sorrows of hell compassed me about..." into verse 7's "Then the earth shook and trembled the...", so "called" and "distress" 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 "called" and "distress" with trust shaped by these words, not by a vague optimism outside the passage.