Six days before the Passover, Jesus therefore came to Bethany, where Lazarus was, whom Jesus had raised from the dead. So they gave a dinner for him there. Martha served, and Lazarus was one of those reclining with him at table. Mary therefore took a pound of expensive ointment made from pure nard, and anointed the feet of Jesus and wiped his feet with her hair. The house was filled with the fragrance of the perfume. But Judas Iscariot, one of his disciples (he who was about to betray him), said, "Why was this ointment not sold for three hundred denarii and given to the poor?" He said this, not because he cared about the poor, but because he was a thief, and having charge of the moneybag he used to help himself to what was put into it. Jesus said, "Leave her alone, so that she may keep it for the day of my burial. For the poor you always have with you, but you do not always have me." ~ John 12:1-8 (ESV)
In this passage, we see different levels worship and serve to Jesus. Mary's act of worship is easy to see here. We also look at the acts of worship of Martha and Judas Iscariot.
Lets take look at Mary now. We see that Mary, Martha, and Lazarus were well to do since Mary used a pound of ointment made of Nard. This fragrance according to the source I used one of which was The Bible Knowledge Commentary by John F. Walvoord and Roy B Zuck, had to be imported from what is now, Afghanistan and Northern India. It was worth about a year's wages for a man. She is giving a lot when she used the fragrance to anoint Jesus. She gives even more when she lets her hair down and uses her hair to dry Jesus' feet. In the Jewish culture of Jesus' time it unseemly for a woman to let her hair down. On top that Jesus wore sandals and feet would be dirty with dirt and other stuff on the road. If you were not walking you would use horse, donkey, camel, or like animal. While you know what animals do and they have no problem doing it right in the road.
Martha gets a bad wrap sometimes for we she her worshiping in own way. Her form of worship is service to others. At this dinner, there would have been servants to take care of the cooking and serving of the guest. We see Martha enjoyed serving other in this way. I can tell you preparing a good meal for family and friends can take a lot out of you, especially working in a hot kitchen.
Judas Iscariot covers his betrayal by what may look like a act of worship. Jesus see through his deceit and dismisses him. In Jesus response to Judas, he is not saying not to take care of the poor but pointing that your worship and service should be on God and not on what looks good in man's eyes. Judas' interest was not the caring for the poor, his was after his own selfish interest,.
What are your motive behind your worship? Our you worshiping because you are thankful for the great thing God has done for you? Or are you just going it to good in front of others or just to get something in return? In our worship, we should be willing to give all because all we have is from God in the first place.