He said this not because he cared about the poor, but because he was a thief: he kept the money box, and he used to help himself to what was put into it.
In context
4But Judas Iscariot, one of his disciples — the one who was going to betray him — said, 5“Why wasn’t this perfume sold for three hundred denarii and the money given to the poor?” 6He said this not because he cared about the poor, but because he was a thief: he kept the money box, and he used to help himself to what was put into it. 7Jesus said, “Leave her alone; she has kept it for the day of my burial. 8The poor you always have with you; me you do not always have.”