It’s not necessarily as simple as that.
John 12:3-8
3 Then Mary took about a pint of pure nard, an expensive perfume; she poured it on Jesus feet and wiped his feet with her hair. And the house was filled with the fragrance of the perfume.
4 But one of his disciples, Judas Iscariot, who was later to betray him, objected,
5 Why wasnt this perfume sold and the money given to the poor? It was worth a years wages.
6 He did not say this because he cared about the poor but because he was a thief; as keeper of the money bag, he used to help himself to what was put into it.
7 Leave her alone, Jesus replied. It was intended that she should save this perfume for the day of my burial.
8 You will always have the poor among you, but you will not always have me.