Exactly. If a deity demands worship then it has an ego and is therefore not perfect.
If a deity requires worship to exist (as anthropomorphic personifications tend to), it is not all-powerful and in fact the people control it. Think about it.
Religion isn't a problem. Fanatical religious people are. It's not about what it actually says as much as it is how people interpret it, and that's what causes wars.