2. For his people's safety and protection. He triumphs in the former: I will be exalted; they triumph in this, v. 7 and again v. 11. It is the burden of the song, "The Lord of hosts is with us; he is on our side, he takes our part, is present with us and president over us; the God of Jacob is our refuge, to whom we may flee, and in whom we may confide and be sure of safety." Let all believers triumph in this. (1.) They have the presence of a God of power, of all power: The Lord of hosts is with us. God is the Lord of hosts, for he has all the creatures which are called the hosts of heaven and earth at his beck and command, and he makes what use he pleases of them, as the instruments either of his justice or of his mercy. This sovereign Lord is with us, sides with us, acts with us, and has promised he will never leave us. Hosts may be against us, but we need not fear them if the Lord of hosts be with us. (2.) They are under the protection of a God in covenant, who not only is able to help them, but is engaged in honour and faithfulness to help them. He is the God of Jacob, not only Jacob the person, but Jacob the people; nay, and of all praying people, the spiritual seed of wrestling Jacob; and he is our refuge, by whom we are sheltered and in whom we are satisfied, who by his providence secures our welfare when without are fightings, and who by his grace quiets our minds, and establishes them, when within are fears. The Lord of hosts, the God of Jacob, has been, is, and will be with us—has been, is and will be our refuge: the original includes all; and well may Selah be added to it. Mark this, and take the comfort of it, and say, If God be for us, who can be against us?