Was Jesus a socialist?

Note what socialism is. A system where the state or collective community dictates the distribution of goods.

What is Jesus said is for the man to change his heart in a completely voluntary action of love towards others. The man chose not to and Jesus let him walk away.

How is it voluntary if you're threatened with hell? Jesus said it's basically impossible for a rich man to get into heaven.