What do you mean religious based? Are you implying that if they weren't religious they wouldn't have gone to war?
Just because no atheist group in the past survived long enough to even be called a civilization doesn't mean you can blame war on religion.