Jesus had given up his earthly home for the sake of the Gospel. The end-time church is particularly tested with the temptation of materialism and spiritual poverty. Many Christians are sucked into the frenzy to acquire material possessions. After all, we live in a society, which makes its living by the sale of material things. So we are bombarded by temptations to see, want, desire and buy.
Material things lose their taste.
We see through them. They are fragile. We must only use our possessions as a means to an end of serving God, not self. He knew that literally there would be no time for anointing his own body for burial after he died on the cross. But he was also thinking of his body members needing loving attention and care.