Isaiah has this stern vision from Yahweh. The betrayer and the destroyer act out together. Elam and Medes, the Persians and the Medes were about to attack Babylon. Since the Israelites were in Babylon, they were afraid but hopeful, like a woman experiencing labor before the birth of a child. Isaiah, in the first person singular, was not quite able to hear or see what was going on. He knew that horror was about to happen. Instead of a happy twilight there was trembling. However, they continued as normal, eating and drinking at tables with rugs. Nevertheless, the cry came to the commanders to rise up and get ready. They had to oil the straps on their shields as they prepared to do battle.
A Maskil of David, when he was in the cave, a prayer
“With my voice
I cry to Yahweh!
With my voice
I make supplication to Yahweh!
I pour out my complaint before him.
I tell my trouble before him.
When my spirit is faint,
You know my way!”
Psalm 142 is a maskil or wisdom song of David, when he was in the cave. There is no explicit mention of an incident in the life of David where he was being persecuted in a cave. He may have been hiding out when he was trying to escape from King Saul. There is no doubt that it is a personal lament to Yahweh. David cries with his voice to Yahweh as he makes his supplications or complaints. He was telling Yahweh his troubles because his spirit was weak or faint. Yahweh knew David so that made him hopeful.