My God, my rock, in whom I take refuge. The rabbis say that ten enemies fell before David: Saul, Doeg, Ahithophel, Sheba son of Bichri, Shimei son of Gera, Rechab and Baanah, and the three sons of Zeruiah. As it is said (2 Samuel 21:22), "These four were born to the giant in Gath, and they fell by the hand of David, and by the hand of his servants." Five were from Israel, and five were from the nations of the world.
And in response, David said that there were ten kinds of armor, namely, Hazak, Sela, Mitzudatayim, and Mafletayim. My God, my rock, in whom I take refuge. He is my shield and the horn of my salvation, my stronghold and my refuge. Rabbi Judah says that just as they counted ten kinds of armor, they also counted ten hallelujahs at the end of the psalm. (Psalm 148:1), "Hallelujah.
Praise God in His sanctuary; praise Him in His mighty firmament." And all the verses are ten in number. "The horn of my salvation" refers to the anointing oil, which drips down upon it. "I will call upon the Lord, who is worthy to be praised; so shall I be saved from my enemies."
Rabbi Yehudah said, "Examine the text and interpret it." "Saved from my enemies" means, "I will call upon the Lord, who is worthy to be praised." "When You save me from my enemies, I will praise You." Rabbi Huna, citing Rabbi Aha, said that with regard to Jehoshaphat, it is said (2 Chronicles 20:22), "And when they began singing and praising, the Lord set ambushes against the children of Ammon, Moab, and Mount Seir." Until the enemies arrived, he sang songs of praise, and the enemies fell before him.