I produce the entire verse from John 12:26 for context.
. 26If anyone serves Me, he must follow Me; and where I am, there My servant will be also; if anyone serves Me, the Father will honor him. John 12:26 NASB
Yes. Beautiful.
It does apply to Mary, though of course not only to her. It applies to “myriads” of disciples who say to God, as she said, “ Be it done unto me according to Thy Word.”