2 Samuel 22:7
In my distress I called upon the Lord, and cried to my God: and he did hear my voice out of his temple, and my cry did enter into his ears.
Cross-reference
Psalm 18:6 is the identical parallel of this song, with the same wording about calling on God and being heard from his temple.
Psalm 34:6 repeats the pattern of a poor man crying and the Lord hearing and saving — directly parallels David's experience.
Psalm 34:15-17 expands on God's ears being open to the righteous cry — providing theological basis for David's experience of being heard.
Psalm 116:4 echoes the same cry of distress — calling on the Lord for deliverance, reinforcing the pattern of prayer in trouble.
Psalm 120:1 repeats the exact phrase 'In my distress I called to the Lord' — a direct parallel of the distress-call-response pattern.
Jonah 2:7 says his prayer came into God's holy temple — directly echoing David's cry reaching God's temple from distress.
James 5:4 uses 'cries… have reached the ears of the Lord' — same verbal imagery, here applied to oppressed workers' cries for justice.
Exodus 3:7 shows God hearing the cry of Israel in bondage — same divine response to distress, but applied to the nation rather than an individual.
1 Kings 8:28 is Solomon asking God to hear his servant's cry — reflects the same confidence that God hears prayer as in David's call.