John 12:1-3 (WEB)
1 Then, six days before the Passover, Jesus came to Bethany, where Lazarus was, who had been dead, whom he raised from the dead.
2 So they made him a supper there. Martha served, but Lazarus was one of those who sat at the table with him.
3 Therefore Mary took a pound of ointment of pure nard, very precious, and anointed Jesus’ feet and wiped his feet with her hair. The house was filled with the fragrance of the ointment.
About John 12: John 12 occurs just before the Passion narrative. It spans six days from Bethany to Jerusalem. The chapter opens with Mary anointing Jesus’s feet in verse 3. Judas complains about the waste, but Jesus defends her act as preparation for burial (verse 7). This sets up the tension between true worship and false concern. Then comes the triumphal entry into Jerusalem. Crowds hail him as King, citing Psalm 118:26, but the Pharisees reject him. Read the study notes
3 verses · Compare in parallel · Read all of John 12