Seeing how the man was always at that gate every day, it is probable that Jesus has passed by this same man himself while entering the Temple. But Jesus' position on socialism can be wrapped up in Matthew 25:14-30
For to everyone who has, more will be given, and he will have abundance; but from him who does not have, even what he has will be taken away. And cast the unprofitable servant into the outer darkness. There will be weeping and gnashing of teeth.
He is speaking of faith and of gifts of the spirit, but the point is still valid, because he is not taking from the ones with plenty, he takes from the ones with little.
Their faith is so little they trusted not in Him. Where as those with much faith, had multiplied that which they had, and God rewards them with even more.