Samuel
1 Samuel 2:10BSB·traditional attribution

Those who oppose the LORD will be shattered. He will thunder from heaven against them. The LORD will judge the ends of the earth and will give power to His king. He will exalt the horn of His anointed.”

Matthew Henry Presbyterian @wholebiblehenry

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

John Gill Reformed Baptist @doctorgill

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...

Jamieson-Fausset-Brown Reformed @jfbcommentary

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).