The battle is over, the victory is won, and the assembled people sing the song of victory. This song, while it celebrates one victory, runs beyond it and praises The LORD for all He has done for the king. They had prayed, "Grant thee thy heart's desire" (v. 4). The prayer is answered and now they sing, "Thou hast given him his heart's desire" (v. 2). They had sung of victory because their trust was in the name of The LORD (v. 7~8). Victory has been won and now they celebrate it (v. 7~12).
The contrast is very vivid between the king trusting in The LORD and therefore sustained, supplied, and led in triumph; and the enemies who intended evil and who are swallowed up and destroyed and utterly overcome. From the experience of the king the whole nation learns its lesson. The opening declaration, "The king shall joy in Thy strength," issues in the final prayer, "Be thou exalted, LORD, in thine own strength:"
Again let us remember our conflict is spiritual and still the ancient hymn is ours, for our King also triumphed through the strength of The LORD and to our final victories we follow Him.