You can't force atheism...
When some people say:
If you don't believe in hell, what's stopping you from raping and pillaging?
We need to understand that due to human variation, some people do need that e iste tial threat to confirm to societal norms.
Like literally any other organization, religions can be corrupted. That doesn't mean we should destroy every organization. Even if we don't personally need it.
That's not socialism except how the Nazis used the word.