She did what she could when she could - she pre-anointed my body before burial.
Wise people do their best in the right place at the right time. They humbly accept the results, but sometimes their actions may not be logical. A nameless woman poured 300 denarius-worth of expensive perfume on Jesus' head, which was obviously not logical according to the people looking at the situation. She could help the poor by selling the perfume, which was equivalent to a year's wages at those times. However, Jesus cherished the woman's contribution, which have been praised everywhere with gospel.
Foolish people pursue their own profits like opportunists. Judas Iscariot did not find anything like Messiah from Jesus, so he decided to sell Jesus to the high priests in exchange for reward. Judas Iscariot took part in the great place of the Last Supper where the God's new covenant (Jeremiah 31:31) was fulfilled by Jesus, but could not recognize that Jesus is the Messiah.
Wicked people pervert the truth. They intentionally sanctify themselves with lies and hypocrisy, condemns others and are not afraid to testify falsely. The law, regarded as important as life by the high priests and religious leaders, was merely means to keep their superior social position and honor, and was no longer commandments of God's great love. They accused the Son of God, Jesus Christ, for blasphemy and ultimately crucified him.
"The road to the life of faith is never a straight line"