He didn’t say this because he cared about the poor. He said it because he was a thief. Judas was in charge of the money bag. He used to help himself to what was in it.
“I am not talking about all of you. I know the ones I have chosen. But this will happen so that this passage of Scripture will come true. It says, ‘The one who shared my bread has turned against me.’ (Psalm 41:9)
Then Peter said, “Ananias, why did you let Satan fill your heart? He made you lie to the Holy Spirit. You have kept some of the money you received for the land.