Hannah and Mary had a lot in common. When the songs were written, Hannah had given birth to Samuel while Mary was carrying Jesus in her womb. Both songs open similarly with rejoicing.
Hannah opened with 1 Samuel 2:
Both saw themselves as lowly women. God's lifted humble people.
1 Samuel 2:7b-8
I think so. Further, both were inspired by the Holy Spirit.
Hannah opened with 1 Samuel 2:
Mary opens with Luke 1:1 "My heart rejoices in the Lord. In the Lord my horn is lifted high. My mouth speaks boldly against my enemies, Because I rejoice in Your salvation."
The similarity between the two is remarkable.46b “My soul magnifies the Lord, 47a and my spirit rejoices in God my Savior."
Both saw themselves as lowly women. God's lifted humble people.
1 Samuel 2:7b-8
Luke 1:52-53He humbles, He also exalts.
He raises the poor from the dust,
He lifts the needy from the garbage heap.
Did Hannah inspire Mary?He has brought down rulers from their thrones,
And has exalted those who were humble.
He has filled the hungry with good things
I think so. Further, both were inspired by the Holy Spirit.