One other point. Assuming that humans psychological motivation for the collective act that is war is based in some need, there can be no "religious" war or insurgency. There can be a war based on identity and self-esteem - "our God is the one true God and yours is false" - but religion is not the true driving force. There is no human need for religion. So as long as that is what you are looking at you will never find the true origin of the motivation of the various actors.