The take-home message is that we should blame religion itself, not religious extremism - as though that were some kind of terrible perversion of real, decent religion. Voltaire got it right long ago:
'Those who can make you believe absurdities can make you commit atrocities.'