Those words reveal that Mary knew the inspired Scriptures well. Her words seem to echo some that were spoken in prayer by Hannah, the mother of the prophet Samuel.
لَا يُورِدُ ٱلْكِتَابُ ٱلْمُقَدَّسُ ٱلْكَثِيرَ مِمَّا قَالَتْهُ مَرْيَمُ .‏