The Psalm heading names David as its author. This is a lament Psalm that takes refuge in God and resolves to praise him among the nations.
When was it written?
The heading places David in the cave. Scripture records caves at Adullam in 1 Samuel 22:1 and En-gedi in 1 Samuel 24:3, so this may be either occasion.
Psalms 57 — Scripture text (King James Version)
To the chief Musician, Altaschith, Michtam of David, when he fled from Saul in the cave.
The cave is usually identified with the Cave of Adullam (1 Samuel 22:1). Tradition also suggests En-gedi (1 Samuel 24).
Be merciful unto me, O God, be merciful unto me: for my soul trusteth in thee: yea, in the shadow of thy wings will I make my refuge, until these calamities be overpast.I will cry unto God most high; unto God that performeth all things for me.He shall send from heaven, and save from the reproach of him that would swallow me up. Selah. God shall send forth his and his truth.My soul is among lions: and I lie even among them that are set fire, even the sons of men, whose teeth are spears and arrows, and their tongue a sharp .Be thou exalted, O God, above the heavens; let thy be above all the earth.They have prepared a for my steps; my soul is bowed down: they have digged a pit before me, into the midst whereof they are fallen themselves. Selah.My heart is fixed, O God, my heart is fixed: I will sing and give praise.Awake up, my ; awake, psaltery and : I myself will awake early.I will praise thee, O Lord, among the people: I will sing unto thee among the nations.For thy is great unto the heavens, and thy truth unto the clouds.Be thou exalted, O God, above the heavens: let thy be above all the earth.