Those who carry out this barbaric behaviour believe in what they are doing. They believe they are doing good. They believe they are doing the will of Allah as revealed in the Koran. And they believe their barbaric behaviour will be rewarded by Allah in heaven. And they are prepared to die for their beliefs.