A couple hundred years ago, most well known socialistic political ideologies were totally against religion. They were against anything that has God in it. So, the people who were behind these ideologies used to persecute anyone who practiced any form of religion.