David writes Psalm 57 when he is hiding from Saul in a cave. He prays to God for mercy and protection, trusting fully in God. David finds refuge under "the shadow of [God's] wings" and believes his troubles will pass. The psalm has two parts - in the first, David prays to God for help. In the second, once feeling inspired by God, David responds with praise and song for God's anticipated deliverance. Commentators note the poetic structure and imagery used, as well as its references to other psalms. David expresses complete faith and trust that God will protect and save him from his enemies.