Christianity is the opposite of Socialism, which is why Marx specifically called for the destruction of religion, specifically judeo-christian based religion.
Jesus told one person to give away all of his possessions as a test of the man’s heart. In that story the man asks Jesus “What must I do?” He doesn’t ask “What must we do?” Jesus did not reply “All of you must give away your possessions.”
If we are to believe Jesus meant that advice for everyone, then we have to explain why Peter continued to own a home where his wife and mother-in-law lived. We would have to explain why other Christians mentioned in Acts continued to own homes and land, and we would have to explain why Peter, Andrew, James and John continued to own their fishing boats and nets.
Jesus understood we could never help the poor if we ourselves are destitute.