The adversaries of the LORD shall be broken to pieces; against them he will thunder in heaven. The LORD will judge the ends of the earth; he will give strength to his king and exalt the horn of his anointed.”
We have here Hannah's thanksgiving, dictated, not only by the spirit of prayer, but by the spirit of prophecy. Her petition for the mercy she desired we had before (Sa1 1:11), and here we have her return of praise; in both out of the abundance of a heart deeply affected (in the former with her own wants, and in the latter with God's goodness) her mouth spoke.
Commenting on 1 Samuel 2:1-10
And Elkanah went to Ramah to his house,.... Of which see Sa1 1:19. This was after he had offered the sacrifices at the feast, worshipped the Lord, and Hannah had delivered her prayer or song of praise, and both had committed Samuel to the care of Eli, and left him with him: and the child did minister unto the Lord before Eli the priest; he...
the Lord shall judge the ends of the earth . . . exalt the horn of his anointed--This is the first place in Scripture where the word "anointed," or Messiah, occurs; and as there was no king in Israel at the time, it seems the best interpretation to refer it to Christ. There is, indeed, a remarkable resemblance between the song of Hannah and that of Mary (Luk 1:46).