Religions have the power to gather people around an idea which would deter them from following the communist rule that the Chinese and Soviet government had planned for them. This is probably the main reason why these government did not like organized religion and discouraged it.