It is a problem because of the conflicts, misuse of power, a belief that there is a spirit out there somewhere controlling, listening, etc etc.
Who said anything about a "spirit out there somewhere controlling?" You keep transferring your 18th century theology onto everything we say. This is 2019 Susan!
Whether people believe it is loving, in spite of the billions who have died since the idea of gods began or not is okay if they had always passed on the message to subsequent generations that said focus of belief is a belief and has zero objective evidence to back up that imagined existence.
The funny fact here is to understand that human populations increased exponentially since "the idea of gods began." It is actually a pretty successful idea in terms of population growth! But about death, what can we say, it is an aspect, perhaps the final aspect of all our lives. Belief in God or belief in no gods changes that truth not a whit.
Of course I support freedom of belief, but I do not support the teaching of falsehoods to children, teaching them as true facts.
So teaching religious dogma as beliefs not facts would be okay? Reminds me of a Terry Pratchett Tele series called, I think "Hogsfather."