A belief in something that isn’t material does go against materialism, yes. However, I doubt you’ll ever find someone with no conflicting opinions. Personal beliefs are only important if they affect material reality; you can be a religious Marxist (and keep in mind that not all religions involve the same kind of beliefs) as long as that doesn’t influence your actions in a way that’s negative for the working class
A belief in something that isn’t material does go against materialism, yes. However, I doubt you’ll ever find someone with no conflicting opinions. Personal beliefs are only important if they affect material reality; you can be a religious Marxist (and keep in mind that not all religions involve the same kind of beliefs) as long as that doesn’t influence your actions in a way that’s negative for the working class