There is no transferring blame away from the perpetrators of this crime.
Moderate muslims are not to blame.
It is not the disastrous invasion of Iraq, even if this gave jihadists a foothold. France, like New Zealand, didn’t support that war.
It was not France’s intervention in Mali in 2012. That was a legal intervention, sanctioned by the United Nations Security council. It was an African-led military force against al Qaeda in northern Mali, after an illegal coup toppled a democratically elected president.