Then, six days before the Passover, Jesus came to Bethany, where Lazarus was who had been dead, whom He had raised from the dead. 2 There they made Him a supper; and Martha served, but Lazarus was one of those who sat at the table with Him. 3 Then Mary took a pound of very costly oil of spikenard, anointed the feet of Jesus, and wiped His feet with her hair. And the house was filled with the fragrance of the oil.
4 But one of His disciples, Judas Iscariot, Simon’s son, who would betray Him, said, 5 “Why was this fragrant oil not sold for three hundred denarii and given to the poor?” 6 This he said, not that he cared for the poor, but because he was a thief, and had the money box; and he used to take what was put in it.
7 But Jesus said, “Let her alone; she has kept this for the day of My burial. 8 For the poor you have with you always, but Me you do not have always.” — John 12:1-8.
Mary is so devoted to Jesus that she anoints Him by pouring costly perfume on Him and wipes His feet with her hair. Jesus says this is to signify His burial. Judas complains that this is a wrong use of the money because he seeks dishonest personal gain from the common purse. While one person shows her godly devotion, the other shows his greedy deviance.