Oh come on now...think please.
France was not attacked because of them being 'infidels'. If that was the case, then why are Canada, Norway, Sweden (countries FULL of infidels) and many other countries not attacked? Why are they focusing on France?
France is being targeted because of colonialism and their ongoing meddling in Africa. France used to occupy huge swaths of northwestern Africa.
https://en.wikipedia.org/wiki/French_colonial_empire#/media/File:EmpireFrench.png
France hung on to these countries WAY too long and is still VERY active (militarily) in much of Africa - you just do not hear much about it on idiotic, American network television.
And France has HUGE numbers of people/immigrants/refugees who live in France left over from those colonial days...and many of them are Muslim. And most of them are very poor and treated as sort of outcasts in French society.
Nothing like poor outcasts as prime recruitment for terrorism.
THAT is why France is getting attacked so much...it has virtually NOTHING to do with western lifestyle.