Echoes of Psalms 57 and 60, this combines praise and lament. Likely David used common worship phrases to lift up a battle song, not so much preparing for a literal fight, but to stir both confidence and humility before God.
David proclaims that his heart is standing tall and on the firm footing of God’s glory. From before the dawn, his heart awakens him in worship, so that his hands will awaken the musical instruments. It hardly matters where David finds himself at any moment, for there is a proper place to sing the glory of Jehovah, Creator of all things. The greatness of His mercy and truth stand above the brightness of the sun. So should all of Creation see His glory.
You can read the rest of this study by clicking this link to Kiln of the Soul blog.