King James Version (KJV)
LORD, in trouble have they visited thee, they poured out a prayer {when} thy chastening {was} upon them. {prayer: Heb. secret speech}
Modern English
Yahweh, in trouble they have visited you. They poured out a prayer when your chastening was on them.
Hebrew
יְהוָ֖ה בַּצַּ֣ר פְּקָד֑וּךָ צָק֣וּן לַ֔חַשׁ מוּסָרְךָ֖ לָֽמוֹ׃
yhvah baṣar pqadvka ṣaqvn laḥash mvsarka lamvo