Terrorists work hard to convince themselves their actions are righteous.