Hannah prayed, and said: My heart exults in Yahweh; My horn is exalted in Yahweh; My mouth is enlarged over my enemies; Because I rejoice in your salvation.
It is not necessary to suppose that Hannah herself knew the full meaning of her prophecy (See  1 Peter 1:10-12).  As Fraser expressed it, "Whether or not it was clear to Hannah's mind, the Spirit who rested upon her signified a King greater than David and a more illustrious kingdom."[12]