It seems likely that Socialism would not exist without Christianity. We know that the early Christians were essentially communist - they owned everything in common. Christianity taught that wealth should not be hoarded but used to improve people's lives in community. That every person is created in the image of God and thus has value no matter what they can (or cannot) do - meaning that disabled and old people had just as much right to live as anyone else.
Now the dominant American expression of Christianity (Evangelicalism) teaches that socialism is some kind of evil and has politically aligned itself with the owner class.
That’s because it got wrapped up in right wing politics. It used to be evangelicals were equally likely from both parties. Then Regan courted them and the rest is history.
Way earlier than that - once Constantine claimed to have seen a cross and heard God saying "In hoc signo vinces" (Under this sign you will conquer), Christianity was forever connected with Empire.
Now the dominant American expression of Christianity (Evangelicalism) teaches that socialism is some kind of evil and has politically aligned itself with the owner class.