This psalm laments an unexpected military reversal experienced by King David against three enemies: Aram-naharaim, Aram-zobah, and Edom. The psalm contains three sections: 1) a lament by the people who feel abandoned by God, 2) a statement by God affirming his control over the surrounding nations, and 3) an expression of confidence by the people in God despite feeling rejected by him previously in battle.