Upholding human rights is not merely compatible with fighting terrorism, it is essential.