It was a generalised statement, yes. However, generalisations aren't necessarily wrong, especially not if they're based on a collective attribute which must be true. I don't see what I've done wrong other than perhaps some cavalier wording and a different moral stance
Religion is an attempt to answer the philosophical questions of the unphilosophical man.