Some of those present were saying indignantly to one another, "Why this waste of perfume?" (NIV)
But there were some who were moved with indignation and said to themselves, To what purpose was the ointment (perfume) thus wasted? (AMP)
And there were some that had indignation within themselves, and said, Why was this waste of the ointment made? (KJV)