Like Mary, Hannah celebrates the birth of her son by means of a song, and a song with similar elements.
The overwhelming importance of God.
God's preference for the weak over the strong.
God's care for the lowly.
Psalm 113 echoes the themes:
Who is like the Lord our God, who is seated on high,
who looks far down on the heavens and the earth?
He raises the poor from the dust, and lifts the needy from the ash heap,'to make them sit with princes, with the princes of his people.
He gives the barren woman a home, making her the joyous mother of children.
Praise the Lord!