Mark 14:6-9 (ESV)
But Jesus said, "Leave her alone. Why do you trouble her? She has done a beautiful thing to me.  For you always have the poor with you, and whenever you want, you can do good for them. But you will not always have me.  She has done what she could; she has anointed my body beforehand for burial.  And truly, I say to you, wherever the gospel is proclaimed in the whole world, what she has done will be told in memory of her."
“You will always have the poor with you, and whenever you want, you can do good for them.” Jesus is honored by what the woman has done. She has anointed him beforehand for burial. But he acknowledges the concerns of others. There are always poor. It doesn’t matter what you do, there are poor. The poor get richer, but they are still poor. It is more or less a relative term. Today we consider poor people who have comforts the pharaohs couldn’t dream of. And they still need our help. We should do good for them. By doing so we do good for Christ.
Jesus knew his time ws short, he considers this a preemptive embalming of sorts. Of course they didn’t have embalming in his day, but they still prepared bodies for burial. Her random act of kindness becomes a prophecy of what is to happen.