War has never solved anything, ever. Adolf Hitler proved that, when his war was met violent opposition and came to a bloody end.
However, war does fuel religion, and that perpetuates the violence. The vicious cycle is obvious to those who are atheist, and is the reason so many are becoming anti-theist.
The notion is simplified in one statement: violence begets violence. This is nothing less than fact.
Religion preys on people when they are the most frustrated, beaten, and discarded. This is when people are most willing to find any way to fight back, so they turn to the local religious leaders to help them get revenge.
The cycle in the Middle East started centuries ago, when Christian forces pushed across the desert killing all who did not convert. This was all because the preachers wanted more money, land, and power.
Little has changed in that, the methods of the Christian leaders have changed to a less violent form of terrorism. But Muslims created their own religion to convince the people in that area to fight back, and of course greed was the primary concern of their leaders.
But Christians have not stopped attacking the Middle East, even today they are bombing innocent people in the ME as retaliation for the acts of the few religious people. The survivors of those attacks are forced to turn to the religious for help, and are then converted.
The religious people are easily convinced to commit atrocities against the people who bombed them when they were trying to be peaceful. Of course the religious leaders on both sides want this, as it will continue to create victims of war that they can prey on.
Thus the cycle continues, but the solution is not one that any religious leaders in any religion wants, we call this solution "education." It is a known fact that the more educated a person is, the less religious they become.
Bombing countries only harms the innocent people, the religious leaders are all hidden away, usually in the very countries that are doing the bombing. Ah, the irony, religious leaders for a region, hiding out in a foreign country convincing that foreign country to retaliate against the country that their followers hail from to stir up a new pool of believers for them to exploit.
If it was not so atrocious, I'd call it the perfect business model.